Commit 29b09233 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/h264_slice: Silence pointer type warnings

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 9ea25681
......@@ -383,7 +383,7 @@ void ff_h264_init_dequant_tables(H264Context *h)
}
}
#define IN_RANGE(a, b, size) (((a) >= (b)) && ((a) < ((b) + (size))))
#define IN_RANGE(a, b, size) (((void*)(a) >= (void*)(b)) && ((void*)(a) < (void*)((b) + (size))))
#define REBASE_PICTURE(pic, new_ctx, old_ctx) \
(((pic) && (pic) >= (old_ctx)->DPB && \
......
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