From fa4924a35818b2564050119ed7c14cbdd2b56065 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Wed, 25 May 2011 08:14:13 +0200 Subject: rawdec: factor video demuxer definitions into a macro. --- libavformat/h261dec.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'libavformat/h261dec.c') diff --git a/libavformat/h261dec.c b/libavformat/h261dec.c index 8d9c5fa8e5..1b416d4fc7 100644 --- a/libavformat/h261dec.c +++ b/libavformat/h261dec.c @@ -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) -- cgit v1.2.3