[FFmpeg-cvslog] h263dec: disable coded dimensions = 0 handling
Michael Niedermayer
git at videolan.org
Thu Sep 20 04:44:42 CEST 2012
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu Sep 20 04:36:35 2012 +0200| [d2981b8ef191fc7876e3486e42222ab6a8777c24] | committer: Michael Niedermayer
h263dec: disable coded dimensions = 0 handling
This code causes infinite loops
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d2981b8ef191fc7876e3486e42222ab6a8777c24
---
libavcodec/h263dec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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;
More information about the ffmpeg-cvslog
mailing list