git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ea2568
)
avcodec/h264_slice: Silence pointer type warnings
author
Michael Niedermayer
<michaelni@gmx.at>
Sat, 27 Jun 2015 21:56:06 +0000
(23:56 +0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sat, 27 Jun 2015 21:56:06 +0000
(23:56 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/h264_slice.c
patch
|
blob
|
history
diff --git
a/libavcodec/h264_slice.c
b/libavcodec/h264_slice.c
index
d6ad9f6
..
69401a2
100644
(file)
--- 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 && \