diff options
author | Nicolas Kaiser <nikai@nikai.net> | 2010-11-09 23:58:41 +0000 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at> | 2010-11-09 23:58:41 +0000 |
commit | fe655f6723ff091c9a536f537ec35da9e7177bcd (patch) | |
tree | 2f8002725847197c432d8b607df123d41f352c36 /libavcodec | |
parent | 8cceef16811844311ddf4b079f81a037bce2e3cb (diff) | |
download | ffmpeg-fe655f6723ff091c9a536f537ec35da9e7177bcd.tar.gz |
Simplify: Remove impossible condition.
Patch by Nicolas Kaiser, nikai nikai net
Originally committed as revision 25714 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/mpegvideo_xvmc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpegvideo_xvmc.c b/libavcodec/mpegvideo_xvmc.c index a245200517..0a5a750fd7 100644 --- a/libavcodec/mpegvideo_xvmc.c +++ b/libavcodec/mpegvideo_xvmc.c @@ -301,7 +301,7 @@ void ff_xvmc_decode_mb(MpegEncContext *s) for (i = 0; i < blocks_per_mb; i++) { if (s->block_last_index[i] >= 0) { // I do not have unsigned_intra MOCO to test, hope it is OK. - if (s->mb_intra && (render->idct || (!render->idct && !render->unsigned_intra))) + if (s->mb_intra && (render->idct || !render->unsigned_intra)) *s->pblocks[i][0] -= 1 << 10; if (!render->idct) { s->dsp.idct(*s->pblocks[i]); |