[Ffmpeg-cvslog] r7896 - in trunk/libavformat: allformats.c allformats.h raw.c

kostya subversion
Fri Feb 9 13:10:16 CET 2007


Author: kostya
Date: Fri Feb  9 13:10:15 2007
New Revision: 7896

Modified:
   trunk/libavformat/allformats.c
   trunk/libavformat/allformats.h
   trunk/libavformat/raw.c

Log:
Raw VC-1 demuxer

Modified: trunk/libavformat/allformats.c
==============================================================================
--- trunk/libavformat/allformats.c	(original)
+++ trunk/libavformat/allformats.c	Fri Feb  9 13:10:15 2007
@@ -144,6 +144,7 @@
     REGISTER_DEMUXER (TIERTEXSEQ, tiertexseq);
     REGISTER_DEMUXER (TTA, tta);
     REGISTER_DEMUXER (V4L2, v4l2);
+    REGISTER_DEMUXER (VC1, vc1);
     REGISTER_DEMUXER (VIDEO_GRAB_DEVICE, video_grab_device);
     REGISTER_DEMUXER (VMD, vmd);
     REGISTER_MUXDEMUX(VOC, voc);

Modified: trunk/libavformat/allformats.h
==============================================================================
--- trunk/libavformat/allformats.h	(original)
+++ trunk/libavformat/allformats.h	Fri Feb  9 13:10:15 2007
@@ -154,6 +154,7 @@
 extern AVOutputFormat swf_muxer;
 extern AVInputFormat tta_demuxer;
 extern AVInputFormat v4l2_demuxer;
+extern AVInputFormat vc1_demuxer;
 extern AVInputFormat voc_demuxer;
 extern AVOutputFormat voc_muxer;
 extern AVInputFormat wav_demuxer;

Modified: trunk/libavformat/raw.c
==============================================================================
--- trunk/libavformat/raw.c	(original)
+++ trunk/libavformat/raw.c	Fri Feb  9 13:10:15 2007
@@ -716,6 +716,18 @@
 };
 #endif //CONFIG_MUXERS
 
+AVInputFormat vc1_demuxer = {
+    "vc1",
+    "raw vc1",
+    0,
+    NULL /* vc1_probe */,
+    video_read_header,
+    raw_read_partial_packet,
+    raw_read_close,
+    .extensions = "vc1",
+    .value = CODEC_ID_VC1,
+};
+
 /* pcm formats */
 
 #define PCMINPUTDEF(name, long_name, ext, codec) \




More information about the ffmpeg-cvslog mailing list