Commit 0a68530d authored by michael's avatar michael

fix "first frame is no keyframe" bug


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@2388 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent e358a467
......@@ -609,7 +609,10 @@ retry:
if ( s->width != avctx->width || s->height != avctx->height
|| ABS(new_aspect - avctx->aspect_ratio) > 0.001) {
/* H.263 could change picture size any time */
ParseContext pc= s->parse_context; //FIXME move these demuxng hack to avformat
s->parse_context.buffer=0;
MPV_common_end(s);
s->parse_context= pc;
}
if (!s->context_initialized) {
avctx->width = s->width;
......
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