summaryrefslogtreecommitdiff
path: root/libavcodec/h263dec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-09-20 04:36:35 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-09-20 04:38:46 +0200
commitd2981b8ef191fc7876e3486e42222ab6a8777c24 (patch)
tree64d4ea30394c7a07f3d4d3f8d01bdc0bdc7e33e4 /libavcodec/h263dec.c
parent61ced71d79ebef22f8ab6ee3511a7a989f6fd3ac (diff)
h263dec: disable coded dimensions = 0 handling
This code causes infinite loops Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/h263dec.c')
-rw-r--r--libavcodec/h263dec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c
index 0b851578f0..ef1b6ed62c 100644
--- 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;