summaryrefslogtreecommitdiff
path: root/libavcodec/decode.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-06-21 06:50:03 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-06-22 12:20:37 +0200
commitc3cd6b765ba65469401ece256d79b2ac15ac4a9f (patch)
tree43b6c4115b37dffa24a1c08b15e5878b317d3f73 /libavcodec/decode.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/decode.c')
-rw-r--r--libavcodec/decode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/decode.c b/libavcodec/decode.c
index a4e50c0d03..de9c079f9d 100644
--- a/libavcodec/decode.c
+++ b/libavcodec/decode.c
@@ -66,7 +66,7 @@ typedef struct FramePool {
static int apply_param_change(AVCodecContext *avctx, const AVPacket *avpkt)
{
- int size = 0, ret;
+ int size, ret;
const uint8_t *data;
uint32_t flags;
int64_t val;