[FFmpeg-cvslog] r24351 - trunk/libavformat/asfdec.c

mstorsjo subversion
Tue Jul 20 13:50:57 CEST 2010


Author: mstorsjo
Date: Tue Jul 20 13:50:57 2010
New Revision: 24351

Log:
asfdec: Handle asf_jfif_media

Modified:
   trunk/libavformat/asfdec.c

Modified: trunk/libavformat/asfdec.c
==============================================================================
--- trunk/libavformat/asfdec.c	Tue Jul 20 13:50:22 2010	(r24350)
+++ trunk/libavformat/asfdec.c	Tue Jul 20 13:50:57 2010	(r24351)
@@ -275,6 +275,9 @@ static int asf_read_header(AVFormatConte
                 type = AVMEDIA_TYPE_AUDIO;
             } else if (!guidcmp(&g, &ff_asf_video_stream)) {
                 type = AVMEDIA_TYPE_VIDEO;
+            } else if (!guidcmp(&g, &ff_asf_jfif_media)) {
+                type = AVMEDIA_TYPE_VIDEO;
+                st->codec->codec_id = CODEC_ID_MJPEG;
             } else if (!guidcmp(&g, &ff_asf_command_stream)) {
                 type = AVMEDIA_TYPE_DATA;
             } else if (!guidcmp(&g, &ff_asf_ext_stream_embed_stream_header)) {



More information about the ffmpeg-cvslog mailing list