Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-06-21 07:50:03 +0300
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-06-22 13:20:37 +0300
commitc3cd6b765ba65469401ece256d79b2ac15ac4a9f (patch)
tree43b6c4115b37dffa24a1c08b15e5878b317d3f73 /libavcodec/libvpxdec.c
parentb8c6aae575f09a1f2eef45e5b9d95b28790bc087 (diff)
avcodec, avformat: Remove unnecessary initializations of side data size
Reviewed-by: Anton Khirnov <anton@khirnov.net> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/libvpxdec.c')
-rw-r--r--libavcodec/libvpxdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/libvpxdec.c b/libavcodec/libvpxdec.c
index 1063c546b0..eddcea8941 100644
--- a/libavcodec/libvpxdec.c
+++ b/libavcodec/libvpxdec.c
@@ -220,7 +220,7 @@ static int vpx_decode(AVCodecContext *avctx,
struct vpx_image *img, *img_alpha;
int ret;
uint8_t *side_data = NULL;
- int side_data_size = 0;
+ int side_data_size;
ret = decode_frame(avctx, &ctx->decoder, avpkt->data, avpkt->size);
if (ret)