OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4907302
)
mpeg2dec: support CODEC_FLAG2_SHOW_ALL.
author
Michael Niedermayer
<michaelni@gmx.at>
Sun, 18 Sep 2011 13:20:36 +0000
(15:20 +0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sun, 18 Sep 2011 13:33:50 +0000
(15:33 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/mpeg12.c
patch
|
blob
|
history
diff --git
a/libavcodec/mpeg12.c
b/libavcodec/mpeg12.c
index
f40c704
..
9134bec
100644
(file)
--- a/
libavcodec/mpeg12.c
+++ b/
libavcodec/mpeg12.c
@@
-2438,7
+2438,7
@@
static int decode_chunks(AVCodecContext *avctx,
break;
}
}
- if (s2->pict_type == AV_PICTURE_TYPE_I)
+ if (s2->pict_type == AV_PICTURE_TYPE_I
|| (s2->flags2 & CODEC_FLAG2_SHOW_ALL)
)
s->sync=1;
if (s2->next_picture_ptr == NULL) {
/* Skip P-frames if we do not have a reference frame or we have an invalid header. */