aboutsummaryrefslogtreecommitdiffstats
path: root/libav/raw.c
diff options
context:
space:
mode:
authorMax Krasnyansky <maxk@qualcomm.com>2002-09-11 18:46:47 +0000
committerMichael Niedermayer <michaelni@gmx.at>2002-09-11 18:46:47 +0000
commit89b3d7c9f1375d8f2009e9fd98e97ae0019eb6b6 (patch)
treebe59e876042b4136091f52d3ab81b57f2aa981a1 /libav/raw.c
parentc2c2cd2da184a4e805790eabd3dbcc1b4f13ca47 (diff)
downloadffmpeg-89b3d7c9f1375d8f2009e9fd98e97ae0019eb6b6.tar.gz
mpeg4 raw output support patch by ("Maksim (Max) Krasnyanskiy" <maxk at qualcomm dot com>)
Originally committed as revision 917 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libav/raw.c')
-rw-r--r--libav/raw.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/libav/raw.c b/libav/raw.c
index 96d011caf5..97c17c0b2e 100644
--- a/libav/raw.c
+++ b/libav/raw.c
@@ -233,6 +233,19 @@ AVOutputFormat h263_oformat = {
raw_write_trailer,
};
+AVOutputFormat m4v_oformat = {
+ "m4v",
+ "raw MPEG4 video format",
+ NULL,
+ "m4v",
+ 0,
+ CODEC_ID_NONE,
+ CODEC_ID_MPEG4,
+ raw_write_header,
+ raw_write_packet,
+ raw_write_trailer,
+};
+
AVInputFormat mpegvideo_iformat = {
"mpegvideo",
"MPEG video",
@@ -420,6 +433,8 @@ int raw_init(void)
av_register_output_format(&ac3_oformat);
av_register_output_format(&h263_oformat);
+
+ av_register_output_format(&m4v_oformat);
av_register_input_format(&mpegvideo_iformat);
av_register_output_format(&mpeg1video_oformat);