summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorGuillaume Poirier <gpoirier@mplayerhq.hu>2007-01-19 12:41:56 +0000
committerGuillaume Poirier <gpoirier@mplayerhq.hu>2007-01-19 12:41:56 +0000
commit50eaa857c099abda803c803927276d81c2d74edb (patch)
tree8c4fe8af1688f9f93ee87e0aa6a6873e8e3d4afd /libavcodec
parentac658be5db5baa01546715994fbd193a855cbc73 (diff)
remove useless cast that makes code unreadable
Originally committed as revision 7586 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/h264.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 4c4060682c..fc6bc4740c 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);
}