Mercurial > libavcodec.hg
changeset 3154:00b2754a9bb2 libavcodec
fix decoding of mpeg2-trunc.vob
author | michael |
---|---|
date | Wed, 01 Mar 2006 22:59:22 +0000 |
parents | 7aa01243b4d3 |
children | c7d2c122a718 |
files | mpeg12.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mpeg12.c Tue Feb 28 21:55:18 2006 +0000 +++ b/mpeg12.c Wed Mar 01 22:59:22 2006 +0000 @@ -3114,7 +3114,7 @@ /* 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;