You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
h263dec: disable coded dimensions = 0 handling
This code causes infinite loops Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user