diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-06-21 06:50:03 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-06-22 12:20:37 +0200 |
commit | c3cd6b765ba65469401ece256d79b2ac15ac4a9f (patch) | |
tree | 43b6c4115b37dffa24a1c08b15e5878b317d3f73 /libavcodec/libvpxdec.c | |
parent | b8c6aae575f09a1f2eef45e5b9d95b28790bc087 (diff) | |
download | ffmpeg-c3cd6b765ba65469401ece256d79b2ac15ac4a9f.tar.gz |
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.c | 2 |
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) |