Commit 58d50a8b authored by michael's avatar michael

set pict_type to I type during init so parsers which dont set it get all i...

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


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@8528 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent b0921d09
...@@ -70,6 +70,7 @@ AVCodecParserContext *av_parser_init(int codec_id) ...@@ -70,6 +70,7 @@ AVCodecParserContext *av_parser_init(int codec_id)
} }
} }
s->fetch_timestamp=1; s->fetch_timestamp=1;
s->pict_type = FF_I_TYPE;
return s; return s;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment