]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/vp8_parser.c
ff_alloc_packet: modify the size of the packet to match the requested size
[ffmpeg] / libavcodec / vp8_parser.c
index fbdd0ee5ac72c49fffa84703d57ec96b56add379..e6d4151bb53376873ac12be045816f8ca6340c7d 100644 (file)
@@ -33,8 +33,6 @@ static int parse(AVCodecParserContext *s,
 }
 
 AVCodecParser ff_vp8_parser = {
-    { CODEC_ID_VP8 },
-    0,
-    NULL,
-    parse,
+    .codec_ids      = { CODEC_ID_VP8 },
+    .parser_parse   = parse,
 };