[FFmpeg-cvslog] r16813 - trunk/libavcodec/vp5.c
aurel
subversion
Tue Jan 27 01:23:27 CET 2009
Author: aurel
Date: Tue Jan 27 01:23:27 2009
New Revision: 16813
Log:
vp5: don't try decoding a P frame before any I frame was parsed
fix issue802
Modified:
trunk/libavcodec/vp5.c
Modified: trunk/libavcodec/vp5.c
==============================================================================
--- trunk/libavcodec/vp5.c Tue Jan 27 00:39:22 2009 (r16812)
+++ trunk/libavcodec/vp5.c Tue Jan 27 01:23:27 2009 (r16813)
@@ -64,7 +64,8 @@ static int vp5_parse_header(VP56Context
avcodec_set_dimensions(s->avctx, 16*cols, 16*rows);
return 2;
}
- }
+ } else if (!s->macroblocks)
+ return 0;
return 1;
}
More information about the ffmpeg-cvslog
mailing list