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-06-03 16:13:14 +0400
committerAnton Khirnov <anton@khirnov.net>2011-06-04 21:51:43 +0400
commite762b1ce9505511b1ecbbd4868ec6879e32e8831 (patch)
tree298bc794b3c432b05d3248fee49b72303b78a31f /libavformat/ingenientdec.c
parentff494cbdafbaee57275e9227a8a2aff02184c346 (diff)
rawdec: add framerate private option.
Diffstat (limited to 'libavformat/ingenientdec.c')
-rw-r--r--libavformat/ingenientdec.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/ingenientdec.c b/libavformat/ingenientdec.c
index 7407a04dd9..febeb2ec35 100644
--- a/libavformat/ingenientdec.c
+++ b/libavformat/ingenientdec.c
@@ -61,11 +61,12 @@ static int ingenient_read_packet(AVFormatContext *s, AVPacket *pkt)
AVInputFormat ff_ingenient_demuxer = {
"ingenient",
NULL_IF_CONFIG_SMALL("raw Ingenient MJPEG"),
- 0,
+ sizeof(FFRawVideoDemuxerContext),
NULL,
ff_raw_video_read_header,
ingenient_read_packet,
.flags= AVFMT_GENERIC_INDEX,
.extensions = "cgi", // FIXME
.value = CODEC_ID_MJPEG,
+ .priv_class = &ff_rawvideo_demuxer_class,
};