remove useless cast that makes code unreadable
authorGuillaume Poirier <gpoirier@mplayerhq.hu>
Fri, 19 Jan 2007 12:41:56 +0000 (12:41 +0000)
committerGuillaume Poirier <gpoirier@mplayerhq.hu>
Fri, 19 Jan 2007 12:41:56 +0000 (12:41 +0000)
Originally committed as revision 7586 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/h264.c

index 4c40606..fc6bc47 100644 (file)
@@ -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);
     }