projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
903ccf7
)
h263dec: Check for width/height changes on frame skips too.
author
Michael Niedermayer
<michaelni@gmx.at>
Thu, 19 Apr 2012 12:37:35 +0000
(14:37 +0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Thu, 19 Apr 2012 12:37:35 +0000
(14:37 +0200)
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/h263dec.c
patch
|
blob
|
history
diff --git
a/libavcodec/h263dec.c
b/libavcodec/h263dec.c
index
ac0303d
..
34b76d3
100644
(file)
--- a/
libavcodec/h263dec.c
+++ b/
libavcodec/h263dec.c
@@
-438,7
+438,7
@@
retry:
ret = ff_h263_decode_picture_header(s);
}
- if (ret < 0) {
+ if (ret < 0
|| ret==FRAME_SKIPPED
) {
if ( s->width != avctx->coded_width
|| s->height != avctx->coded_height) {
av_log(s->avctx, AV_LOG_WARNING, "Reverting picture dimensions change due to header decoding failure\n");