]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/h261dec.c
mmsh: fixed printf injection bug in mmsh request
[ffmpeg] / libavformat / h261dec.c
index 1478ed663fcc510854283df35e890ac11455b6c8..354a7c78c1172e2aff05b0b27ba5354ad9356c2a 100644 (file)
@@ -62,14 +62,4 @@ static int h261_probe(AVProbeData *p)
     return 0;
 }
 
-AVInputFormat ff_h261_demuxer = {
-    "h261",
-    NULL_IF_CONFIG_SMALL("raw H.261"),
-    0,
-    h261_probe,
-    ff_raw_video_read_header,
-    ff_raw_read_partial_packet,
-    .flags= AVFMT_GENERIC_INDEX,
-    .extensions = "h261",
-    .value = CODEC_ID_H261,
-};
+FF_DEF_RAWVIDEO_DEMUXER(h261, "raw H.261", h261_probe, "h261", CODEC_ID_H261)