[FFmpeg-cvslog] r17315 - trunk/libavcodec/mpegvideo_xvmc.c
iive
subversion
Sun Feb 15 10:03:48 CET 2009
Author: iive
Date: Sun Feb 15 10:03:47 2009
New Revision: 17315
Log:
Proper condition in xvmc decode mb.
The old one would try to use mv blocks that are written outside their buffer,
in case of unhandled error.
Modified:
trunk/libavcodec/mpegvideo_xvmc.c
Modified: trunk/libavcodec/mpegvideo_xvmc.c
==============================================================================
--- trunk/libavcodec/mpegvideo_xvmc.c Sun Feb 15 09:42:11 2009 (r17314)
+++ trunk/libavcodec/mpegvideo_xvmc.c Sun Feb 15 10:03:47 2009 (r17315)
@@ -297,6 +297,6 @@ void ff_xvmc_decode_mb(MpegEncContext *s
* blocks. */
- if (render->filled_mv_blocks_num >= render->total_number_of_mv_blocks)
+ if (render->filled_mv_blocks_num == render->total_number_of_mv_blocks)
ff_draw_horiz_band(s, 0, 0);
}
More information about the ffmpeg-cvslog
mailing list