[Ffmpeg-cvslog] r8528 - trunk/libavcodec/parser.c

michael subversion
Mon Mar 26 19:33:46 CEST 2007


Author: michael
Date: Mon Mar 26 19:33:45 2007
New Revision: 8528

Modified:
   trunk/libavcodec/parser.c

Log:
set pict_type to I type during init so parsers which dont set it get all i frames, fixes mp3 seeking


Modified: trunk/libavcodec/parser.c
==============================================================================
--- trunk/libavcodec/parser.c	(original)
+++ trunk/libavcodec/parser.c	Mon Mar 26 19:33:45 2007
@@ -70,6 +70,7 @@ AVCodecParserContext *av_parser_init(int
         }
     }
     s->fetch_timestamp=1;
+    s->pict_type = FF_I_TYPE;
     return s;
 }
 




More information about the ffmpeg-cvslog mailing list