summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2006-03-01 22:59:22 +0000
committerMichael Niedermayer <michaelni@gmx.at>2006-03-01 22:59:22 +0000
commit2669777981c351b33cfd09d2e725c6acb037574f (patch)
treee523162c04fcfeb1a5140248f0035c3b9d36781d /libavcodec
parent7581c5f50c6aab556a82e4a07c7a209053afd0a3 (diff)
fix decoding of mpeg2-trunc.vob
Originally committed as revision 5091 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/mpeg12.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c
index d8ae291ec9..de92fbbd6e 100644
--- a/libavcodec/mpeg12.c
+++ b/libavcodec/mpeg12.c
@@ -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;