Commit d2981b8e authored by Michael Niedermayer's avatar Michael Niedermayer

h263dec: disable coded dimensions = 0 handling

This code causes infinite loops
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 61ced71d
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment