[FFmpeg-cvslog] r22214 - trunk/libavformat/oggparsetheora.c

conrad subversion
Fri Mar 5 01:22:40 CET 2010


Author: conrad
Date: Fri Mar  5 01:22:40 2010
New Revision: 22214

Log:
oggdec: Parse theora headers since ogg might not mark keyframes

Fixes issue746

Modified:
   trunk/libavformat/oggparsetheora.c

Modified: trunk/libavformat/oggparsetheora.c
==============================================================================
--- trunk/libavformat/oggparsetheora.c	Fri Mar  5 01:22:37 2010	(r22213)
+++ trunk/libavformat/oggparsetheora.c	Fri Mar  5 01:22:40 2010	(r22214)
@@ -106,6 +106,7 @@ theora_header (AVFormatContext * s, int 
 
         st->codec->codec_type = CODEC_TYPE_VIDEO;
         st->codec->codec_id = CODEC_ID_THEORA;
+        st->need_parsing = AVSTREAM_PARSE_HEADERS;
 
     } else if (os->buf[os->pstart] == 0x83) {
         vorbis_comment (s, os->buf + os->pstart + 7, os->psize - 8);



More information about the ffmpeg-cvslog mailing list