[FFmpeg-cvslog] r18547 - trunk/libavcodec/h263.c

michael subversion
Fri Apr 17 14:57:47 CEST 2009


Author: michael
Date: Fri Apr 17 14:57:47 2009
New Revision: 18547

Log:
Remove uselss assignment from h263_pred_dc() found by the clang static analyzer.

Modified:
   trunk/libavcodec/h263.c

Modified: trunk/libavcodec/h263.c
==============================================================================
--- trunk/libavcodec/h263.c	Fri Apr 17 14:53:11 2009	(r18546)
+++ trunk/libavcodec/h263.c	Fri Apr 17 14:57:47 2009	(r18547)
@@ -1580,7 +1580,6 @@ static int h263_pred_dc(MpegEncContext *
         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;



More information about the ffmpeg-cvslog mailing list