summaryrefslogtreecommitdiff
path: root/libavcodec/h264.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-02-23 14:09:04 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-02-23 14:09:04 +0100
commitc10c2aed47da0789527d528b1677ff4c4e13f5fa (patch)
treeba8efe8ff5f11ea3530d745757b3d4a5bed9a22e /libavcodec/h264.c
parent5270cb39ba7c1842ab57ea0947a70d1ae396ed84 (diff)
h264: Silence warning: comparison of distinct pointer types lacks a cast
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r--libavcodec/h264.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 5e9e64f9cf..132739f8c8 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -1551,7 +1551,7 @@ static int decode_update_thread_context(AVCodecContext *dst,
memcpy(h, h1, offsetof(H264Context, intra_pcm_ptr));
memcpy(&h->cabac, &h1->cabac,
sizeof(H264Context) - offsetof(H264Context, cabac));
- av_assert0(&h->cabac == &h->mb_padding + 1);
+ av_assert0((void*)&h->cabac == &h->mb_padding + 1);
memset(h->sps_buffers, 0, sizeof(h->sps_buffers));
memset(h->pps_buffers, 0, sizeof(h->pps_buffers));