set pict_type to I type during init so parsers which dont set it get all i frames...
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 26 Mar 2007 17:33:45 +0000 (17:33 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 26 Mar 2007 17:33:45 +0000 (17:33 +0000)
Originally committed as revision 8528 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/parser.c

index ab3bf8d..f3e7ee3 100644 (file)
@@ -70,6 +70,7 @@ AVCodecParserContext *av_parser_init(int codec_id)
         }
     }
     s->fetch_timestamp=1;
+    s->pict_type = FF_I_TYPE;
     return s;
 }