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:
330e440
)
mpeg2: 12LSB w/h of 0 is not allowed in compliant videos thus this also needs AV_EF_C...
author
Michael Niedermayer
<michaelni@gmx.at>
Mon, 18 Mar 2013 16:48:52 +0000
(17:48 +0100)
committer
Michael Niedermayer
<michaelni@gmx.at>
Mon, 18 Mar 2013 16:48:52 +0000
(17:48 +0100)
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
3f5548d
..
ebabd73
100644
(file)
--- a/
libavcodec/mpeg12.c
+++ b/
libavcodec/mpeg12.c
@@
-2029,7
+2029,7
@@
static int mpeg1_decode_sequence(AVCodecContext *avctx,
if (width == 0 || height == 0) {
av_log(avctx, AV_LOG_WARNING, "Invalid horizontal or vertical size "
"value.\n");
- if (avctx->err_recognition &
AV_EF_BITSTREAM
)
+ if (avctx->err_recognition &
(AV_EF_BITSTREAM | AV_EF_COMPLIANT)
)
return AVERROR_INVALIDDATA;
}
s->aspect_ratio_info = get_bits(&s->gb, 4);