Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-05-25 10:14:13 +0400
committerAnton Khirnov <anton@khirnov.net>2011-05-27 10:31:16 +0400
commitfa4924a35818b2564050119ed7c14cbdd2b56065 (patch)
treef63b4545f25fd2a7e48e3b48ef8d523eee6a7fda /libavformat/m4vdec.c
parent4779f59378d54f30644ef79ce3a5c402546f3cb9 (diff)
rawdec: factor video demuxer definitions into a macro.
Diffstat (limited to 'libavformat/m4vdec.c')
-rw-r--r--libavformat/m4vdec.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/libavformat/m4vdec.c b/libavformat/m4vdec.c
index 3463901d7b..e856aadc10 100644
--- a/libavformat/m4vdec.c
+++ b/libavformat/m4vdec.c
@@ -49,14 +49,4 @@ static int mpeg4video_probe(AVProbeData *probe_packet)
return 0;
}
-AVInputFormat ff_m4v_demuxer = {
- "m4v",
- NULL_IF_CONFIG_SMALL("raw MPEG-4 video format"),
- 0,
- mpeg4video_probe, /** probing for MPEG-4 data */
- ff_raw_video_read_header,
- ff_raw_read_partial_packet,
- .flags= AVFMT_GENERIC_INDEX,
- .extensions = "m4v",
- .value = CODEC_ID_MPEG4,
-};
+FF_DEF_RAWVIDEO_DEMUXER(m4v, "raw MPEG-4 video format", mpeg4video_probe, "m4v", CODEC_ID_MPEG4)