aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
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);
}