diff mbox

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

Message ID 20180713172640.19675-2-michael@niedermayer.cc
State Accepted
Commit 2e6ea3938669a5a0aa00a58ff83d4c0a1ae3b2a7
Headers show

Commit Message

Michael Niedermayer July 13, 2018, 5:26 p.m. UTC
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
---
 libavcodec/vp8_parser.c | 2 --
 1 file changed, 2 deletions(-)

Comments

Michael Niedermayer July 15, 2018, 5:45 p.m. UTC | #1
On Fri, Jul 13, 2018 at 07:26:38PM +0200, Michael Niedermayer wrote:
> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
> ---
>  libavcodec/vp8_parser.c | 2 --
>  1 file changed, 2 deletions(-)

will apply

[...]
diff mbox

Patch

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;
 }