Commit 592ba6ec authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/h264_cabac: use int instead of long for mbb_xy

The mb address fits in int
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent f1f7f590
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment