From 6fc892d271912e8ca0b0512e224575b192f5addf Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Thu, 30 Aug 2012 18:01:14 +0200 Subject: [PATCH] libvorbisdec: fix const nitpick warning Signed-off-by: Michael Niedermayer --- libavcodec/libvorbisdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/libvorbisdec.c b/libavcodec/libvorbisdec.c index e86c668eb9..93c65b88b7 100644 --- a/libavcodec/libvorbisdec.c +++ b/libavcodec/libvorbisdec.c @@ -48,7 +48,7 @@ static int oggvorbis_decode_init(AVCodecContext *avccontext) { if(p[0] == 0 && p[1] == 30) { for(i = 0; i < 3; i++){ - hsizes[i] = bytestream_get_be16(&p); + hsizes[i] = bytestream_get_be16((const uint8_t **)&p); headers[i] = p; p += hsizes[i]; }