diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-05-25 08:14:13 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-05-27 08:31:16 +0200 |
commit | fa4924a35818b2564050119ed7c14cbdd2b56065 (patch) | |
tree | f63b4545f25fd2a7e48e3b48ef8d523eee6a7fda /libavformat/diracdec.c | |
parent | 4779f59378d54f30644ef79ce3a5c402546f3cb9 (diff) | |
download | ffmpeg-fa4924a35818b2564050119ed7c14cbdd2b56065.tar.gz |
rawdec: factor video demuxer definitions into a macro.
Diffstat (limited to 'libavformat/diracdec.c')
-rw-r--r-- | libavformat/diracdec.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/libavformat/diracdec.c b/libavformat/diracdec.c index b0cb3bfc25..8cbd5b5146 100644 --- a/libavformat/diracdec.c +++ b/libavformat/diracdec.c @@ -31,13 +31,4 @@ static int dirac_probe(AVProbeData *p) return 0; } -AVInputFormat ff_dirac_demuxer = { - "dirac", - NULL_IF_CONFIG_SMALL("raw Dirac"), - 0, - dirac_probe, - ff_raw_video_read_header, - ff_raw_read_partial_packet, - .flags= AVFMT_GENERIC_INDEX, - .value = CODEC_ID_DIRAC, -}; +FF_DEF_RAWVIDEO_DEMUXER(dirac, "raw Dirac", dirac_probe, NULL, CODEC_ID_DIRAC) |