]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/h263_parser.c
bmpdec: proper check for alpha
[ffmpeg] / libavcodec / h263_parser.c
index a3d24ea433a79be6d56c414fd2c9176dbeb2bb4d..9a1ba39d114a72e99618ec3c9505989436c1f6c8 100644 (file)
@@ -88,9 +88,8 @@ static int h263_parse(AVCodecParserContext *s,
 }
 
 AVCodecParser ff_h263_parser = {
-    { CODEC_ID_H263 },
-    sizeof(ParseContext),
-    NULL,
-    h263_parse,
-    ff_parse_close,
+    .codec_ids      = { CODEC_ID_H263 },
+    .priv_data_size = sizeof(ParseContext),
+    .parser_parse   = h263_parse,
+    .parser_close   = ff_parse_close,
 };