[SCM] libav/experimental: remove useless cast that makes code unreadable

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:55:10 UTC 2013


The following commit has been merged in the experimental branch:
commit 50eaa857c099abda803c803927276d81c2d74edb
Author: Guillaume Poirier <gpoirier at mplayerhq.hu>
Date:   Fri Jan 19 12:41:56 2007 +0000

    remove useless cast that makes code unreadable
    
    Originally committed as revision 7586 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 4c40606..fc6bc47 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -4532,8 +4532,8 @@ static int decode_slice_header(H264Context *h){
         return -1;
     }
 
-    if(h->dequant_coeff_pps != (int)pps_id){
-        h->dequant_coeff_pps = (int)pps_id;
+    if(h->dequant_coeff_pps != pps_id){
+        h->dequant_coeff_pps = pps_id;
         init_dequant_tables(h);
     }
 

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list