]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/vp8_parser.c
avfilter/avfilter: Remove compatibility code for old filter options
[ffmpeg] / libavcodec / vp8_parser.c
index 609f5077d1a1b2add1dd3e13f0508615428dafa0..7ce35e7535ce085a9c9973e47e6a4536e704d1b0 100644 (file)
@@ -28,6 +28,9 @@ static int parse(AVCodecParserContext *s,
     unsigned int frame_type;
     unsigned int profile;
 
+    *poutbuf      = buf;
+    *poutbuf_size = buf_size;
+
     if (buf_size < 3)
         return buf_size;
 
@@ -67,8 +70,6 @@ static int parse(AVCodecParserContext *s,
         s->coded_height = FFALIGN(height, 16);
     }
 
-    *poutbuf      = buf;
-    *poutbuf_size = buf_size;
     return buf_size;
 }