]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/h264_cabac.c
x86/hevcdsp: add ff_hevc_sao_edge_filter_{10,12}_{sse2,avx2}
[ffmpeg] / libavcodec / h264_cabac.c
index 692cf1d8744d01cedf357546bb61215b4acf1ce3..41e0f867c07be13e74f1feaadfb341310faa09c0 100644 (file)
@@ -1282,7 +1282,7 @@ void ff_h264_init_cabac_states(H264Context *h) {
 }
 
 static int decode_cabac_field_decoding_flag(H264Context *h) {
-    const long mbb_xy = h->mb_xy - 2L*h->mb_stride;
+    const int mbb_xy = h->mb_xy - 2*h->mb_stride;
 
     unsigned long ctx = 0;