]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/h261_parser.c
bmpdec: proper check for alpha
[ffmpeg] / libavcodec / h261_parser.c
index 3fb86db1255c30ec95b283fbae9391f8da351465..9eedeea03aa63ad3f62b92133929adde6415ed2b 100644 (file)
@@ -86,9 +86,8 @@ static int h261_parse(AVCodecParserContext *s,
 }
 
 AVCodecParser ff_h261_parser = {
-    { CODEC_ID_H261 },
-    sizeof(ParseContext),
-    NULL,
-    h261_parse,
-    ff_parse_close,
+    .codec_ids      = { CODEC_ID_H261 },
+    .priv_data_size = sizeof(ParseContext),
+    .parser_parse   = h261_parse,
+    .parser_close   = ff_parse_close,
 };