mirror of https://git.ffmpeg.org/ffmpeg.git
h263dec: disable coded dimensions = 0 handling
This code causes infinite loops Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
61ced71d79
commit
d2981b8ef1
|
@ -598,7 +598,7 @@ retry:
|
||||||
/* FIXME: By the way H263 decoder is evolving it should have */
|
/* FIXME: By the way H263 decoder is evolving it should have */
|
||||||
/* an H263EncContext */
|
/* 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
|
ParseContext pc= s->parse_context; //FIXME move these demuxng hack to avformat
|
||||||
|
|
||||||
s->parse_context.buffer=0;
|
s->parse_context.buffer=0;
|
||||||
|
|
Loading…
Reference in New Issue