summaryrefslogtreecommitdiff
path: root/libavformat/h263dec.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-05-25 08:14:13 +0200
committerAnton Khirnov <anton@khirnov.net>2011-05-27 08:31:16 +0200
commitfa4924a35818b2564050119ed7c14cbdd2b56065 (patch)
treef63b4545f25fd2a7e48e3b48ef8d523eee6a7fda /libavformat/h263dec.c
parent4779f59378d54f30644ef79ce3a5c402546f3cb9 (diff)
rawdec: factor video demuxer definitions into a macro.
Diffstat (limited to 'libavformat/h263dec.c')
-rw-r--r--libavformat/h263dec.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/libavformat/h263dec.c b/libavformat/h263dec.c
index 5eda7afd60..b9185cbcb6 100644
--- a/libavformat/h263dec.c
+++ b/libavformat/h263dec.c
@@ -64,14 +64,4 @@ static int h263_probe(AVProbeData *p)
return 0;
}
-AVInputFormat ff_h263_demuxer = {
- "h263",
- NULL_IF_CONFIG_SMALL("raw H.263"),
- 0,
- h263_probe,
- ff_raw_video_read_header,
- ff_raw_read_partial_packet,
- .flags= AVFMT_GENERIC_INDEX,
-// .extensions = "h263", //FIXME remove after writing mpeg4_probe
- .value = CODEC_ID_H263,
-};
+FF_DEF_RAWVIDEO_DEMUXER(h263, "raw H.263", h263_probe, NULL, CODEC_ID_H263)