projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7581c5f
)
fix decoding of mpeg2-trunc.vob
author
Michael Niedermayer
<michaelni@gmx.at>
Wed, 1 Mar 2006 22:59:22 +0000
(22:59 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Wed, 1 Mar 2006 22:59:22 +0000
(22:59 +0000)
Originally committed as revision 5091 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/mpeg12.c
patch
|
blob
|
history
diff --git
a/libavcodec/mpeg12.c
b/libavcodec/mpeg12.c
index
d8ae291
..
de92fbb
100644
(file)
--- 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;