[FFmpeg-cvslog] r25714 - trunk/libavcodec/mpegvideo_xvmc.c

cehoyos subversion
Wed Nov 10 00:58:41 CET 2010


Author: cehoyos
Date: Wed Nov 10 00:58:41 2010
New Revision: 25714

Log:
Simplify: Remove impossible condition.

Patch by Nicolas Kaiser, nikai nikai net

Modified:
   trunk/libavcodec/mpegvideo_xvmc.c

Modified: trunk/libavcodec/mpegvideo_xvmc.c
==============================================================================
--- trunk/libavcodec/mpegvideo_xvmc.c	Wed Nov 10 00:57:02 2010	(r25713)
+++ trunk/libavcodec/mpegvideo_xvmc.c	Wed Nov 10 00:58:41 2010	(r25714)
@@ -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]);



More information about the ffmpeg-cvslog mailing list