]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
Remove uselss assignment from h263_pred_dc() found by the clang static analyzer.
authormichael <michael@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Fri, 17 Apr 2009 12:57:47 +0000 (12:57 +0000)
committermichael <michael@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Fri, 17 Apr 2009 12:57:47 +0000 (12:57 +0000)
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18547 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

libavcodec/h263.c

index 6e6d156866252a38b21fd75d01d8c2a4daa966dc..a4eb2fd2b97fde2c22584e7da247949d06273c3c 100644 (file)
@@ -1580,7 +1580,6 @@ static int h263_pred_dc(MpegEncContext * s, int n, int16_t **dc_val_ptr)
         if(n!=2) c= 1024;
         if(n!=1 && s->mb_x == s->resync_mb_x) a= 1024;
     }
-    pred_dc = 1024;
     /* just DC prediction */
     if (a != 1024 && c != 1024)
         pred_dc = (a + c) >> 1;