Commit 195c53e7 authored by michael's avatar michael

fix decoding of mpeg2-trunc.vob


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@5091 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent eedf4eaf
......@@ -3114,7 +3114,7 @@ static int mpeg_decode_frame(AVCodecContext *avctx,
/* skip b frames if we dont have reference frames */
if(s2->pict_type==B_TYPE) break;
/* skip P frames if we dont have reference frame no valid header */
if(s2->pict_type==P_TYPE && !s2->first_slice) break;
// if(s2->pict_type==P_TYPE && s2->first_field && !s2->first_slice) break;
}
/* skip b frames if we are in a hurry */
if(avctx->hurry_up && s2->pict_type==B_TYPE) break;
......
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