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/cavsvideodec.c
parent4779f59378d54f30644ef79ce3a5c402546f3cb9 (diff)
rawdec: factor video demuxer definitions into a macro.
Diffstat (limited to 'libavformat/cavsvideodec.c')
-rw-r--r--libavformat/cavsvideodec.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/libavformat/cavsvideodec.c b/libavformat/cavsvideodec.c
index f58c56f6b6..9aa9413f4c 100644
--- a/libavformat/cavsvideodec.c
+++ b/libavformat/cavsvideodec.c
@@ -65,13 +65,4 @@ static int cavsvideo_probe(AVProbeData *p)
return 0;
}
-AVInputFormat ff_cavsvideo_demuxer = {
- "cavsvideo",
- NULL_IF_CONFIG_SMALL("raw Chinese AVS video"),
- 0,
- cavsvideo_probe,
- ff_raw_video_read_header,
- ff_raw_read_partial_packet,
- .flags= AVFMT_GENERIC_INDEX,
- .value = CODEC_ID_CAVS,
-};
+FF_DEF_RAWVIDEO_DEMUXER(cavsvideo, "raw Chinese AVS video", cavsvideo_probe, NULL, CODEC_ID_CAVS)