projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61ced71
)
h263dec: disable coded dimensions = 0 handling
author
Michael Niedermayer
<michaelni@gmx.at>
Thu, 20 Sep 2012 02:36:35 +0000
(
04:36
+0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Thu, 20 Sep 2012 02:38:46 +0000
(
04:38
+0200)
This code causes infinite loops
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
0b85157
..
ef1b6ed
100644
(file)
--- a/
libavcodec/h263dec.c
+++ b/
libavcodec/h263dec.c
@@
-598,7
+598,7
@@
retry:
/* FIXME: By the way H263 decoder is evolving it should have */
/* an H263EncContext */
- if (
!avctx->coded_width || !avctx->coded_height
) {
+ if (
(!avctx->coded_width || !avctx->coded_height) && 0
) {
ParseContext pc= s->parse_context; //FIXME move these demuxng hack to avformat
s->parse_context.buffer=0;