summaryrefslogtreecommitdiff
path: root/libavformat/rawdec.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-05-24 07:43:01 +0200
committerAnton Khirnov <anton@khirnov.net>2011-05-27 06:52:52 +0200
commit973f686a6c4f7c3b9120a1e22cb7c0159ea9aee2 (patch)
tree808301a92dabb18ef5860040b1cb8bdfdc5eb2bd /libavformat/rawdec.h
parent724a900c454f7b41066edcc0443bff083d59f81c (diff)
rawdec: add video_size private option.
Diffstat (limited to 'libavformat/rawdec.h')
-rw-r--r--libavformat/rawdec.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libavformat/rawdec.h b/libavformat/rawdec.h
index e473eb2aac..517efd4042 100644
--- a/libavformat/rawdec.h
+++ b/libavformat/rawdec.h
@@ -31,7 +31,13 @@ typedef struct RawAudioDemuxerContext {
int channels;
} RawAudioDemuxerContext;
+typedef struct FFRawVideoDemuxerContext {
+ const AVClass *class; /**< Class for private options. */
+ char *video_size; /**< String describing video size, set by a private option. */
+} FFRawVideoDemuxerContext;
+
extern const AVClass ff_rawaudio_demuxer_class;
+extern const AVClass ff_rawvideo_demuxer_class;
int ff_raw_read_header(AVFormatContext *s, AVFormatParameters *ap);