Commit 58e5270f authored by iive's avatar iive

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.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17315 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 83ac45fd
...@@ -297,6 +297,6 @@ void ff_xvmc_decode_mb(MpegEncContext *s) ...@@ -297,6 +297,6 @@ void ff_xvmc_decode_mb(MpegEncContext *s)
* blocks. */ * 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); ff_draw_horiz_band(s, 0, 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