[FFmpeg-devel] [PATCH 2/4] avcodec/vp8_parser: Remove redundant output initialization

Michael Niedermayer michael at niedermayer.cc
Fri Jul 13 20:26:38 EEST 2018


Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
---
 libavcodec/vp8_parser.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/libavcodec/vp8_parser.c b/libavcodec/vp8_parser.c
index e2d91b271f..7ce35e7535 100644
--- a/libavcodec/vp8_parser.c
+++ b/libavcodec/vp8_parser.c
@@ -70,8 +70,6 @@ static int parse(AVCodecParserContext *s,
         s->coded_height = FFALIGN(height, 16);
     }
 
-    *poutbuf      = buf;
-    *poutbuf_size = buf_size;
     return buf_size;
 }
 
-- 
2.18.0



More information about the ffmpeg-devel mailing list