diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-09-20 04:36:35 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-09-20 04:38:46 +0200 |
commit | d2981b8ef191fc7876e3486e42222ab6a8777c24 (patch) | |
tree | 64d4ea30394c7a07f3d4d3f8d01bdc0bdc7e33e4 /libavcodec/h263dec.c | |
parent | 61ced71d79ebef22f8ab6ee3511a7a989f6fd3ac (diff) | |
download | ffmpeg-streaming-d2981b8ef191fc7876e3486e42222ab6a8777c24.zip ffmpeg-streaming-d2981b8ef191fc7876e3486e42222ab6a8777c24.tar.gz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c index 0b85157..ef1b6ed 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; |