diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-06-03 14:13:14 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-06-04 19:51:43 +0200 |
commit | e762b1ce9505511b1ecbbd4868ec6879e32e8831 (patch) | |
tree | 298bc794b3c432b05d3248fee49b72303b78a31f /libavformat/rawdec.h | |
parent | ff494cbdafbaee57275e9227a8a2aff02184c346 (diff) | |
download | ffmpeg-e762b1ce9505511b1ecbbd4868ec6879e32e8831.tar.gz |
rawdec: add framerate private option.
Diffstat (limited to 'libavformat/rawdec.h')
-rw-r--r-- | libavformat/rawdec.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavformat/rawdec.h b/libavformat/rawdec.h index 4968915cc6..76e8053f6d 100644 --- a/libavformat/rawdec.h +++ b/libavformat/rawdec.h @@ -35,6 +35,7 @@ typedef struct FFRawVideoDemuxerContext { const AVClass *class; /**< Class for private options. */ char *video_size; /**< String describing video size, set by a private option. */ char *pixel_format; /**< Set by a private option. */ + char *framerate; /**< String describing framerate, set by a private option. */ } FFRawVideoDemuxerContext; extern const AVClass ff_rawaudio_demuxer_class; @@ -58,6 +59,8 @@ AVInputFormat ff_ ## shortname ## _demuxer = {\ .extensions = ext,\ .flags = AVFMT_GENERIC_INDEX,\ .value = id,\ + .priv_data_size = sizeof(FFRawVideoDemuxerContext),\ + .priv_class = &ff_rawvideo_demuxer_class,\ }; #endif /* AVFORMAT_RAWDEC_H */ |