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:
4d95ae1
)
Fix sei_ct_type check so it does not mistreat ct_type= unknown.
author
Michael Niedermayer
<michaelni@gmx.at>
Wed, 3 Jun 2009 19:24:51 +0000
(19:24 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Wed, 3 Jun 2009 19:24:51 +0000
(19:24 +0000)
Originally committed as revision 19082 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/h264.c
patch
|
blob
|
history
diff --git
a/libavcodec/h264.c
b/libavcodec/h264.c
index
a4d7920
..
f2e785b
100644
(file)
--- a/
libavcodec/h264.c
+++ b/
libavcodec/h264.c
@@
-7793,7
+7793,7
@@
static int decode_frame(AVCodecContext *avctx,
/* Signal interlacing information externally. */
/* Prioritize picture timing SEI information over used decoding process if it exists. */
- if (h->sei_ct_type)
+ if (h->sei_ct_type
& 3
)
cur->interlaced_frame = (h->sei_ct_type & (1<<1)) != 0;
else
cur->interlaced_frame = FIELD_OR_MBAFF_PICTURE;