diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-06-27 23:56:06 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-06-27 23:56:06 +0200 |
commit | 29b09233249e9c7e1d37358a82c97ff4d96befa6 (patch) | |
tree | f3ed4d66b0c854d698b84fbdbc364df9e36d6922 | |
parent | 9ea256814dc290866b85f56a1ba213e80c4a5f7a (diff) | |
download | ffmpeg-29b09233249e9c7e1d37358a82c97ff4d96befa6.tar.gz |
avcodec/h264_slice: Silence pointer type warnings
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/h264_slice.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264_slice.c b/libavcodec/h264_slice.c index d6ad9f68f6..69401a2107 100644 --- a/libavcodec/h264_slice.c +++ b/libavcodec/h264_slice.c @@ -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 && \ |