diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-08-30 18:01:14 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-08-30 18:01:14 +0200 |
commit | 6fc892d271912e8ca0b0512e224575b192f5addf (patch) | |
tree | fc18a283f350cfc52fd1592175ae06adbacb6f5c /libavcodec/libvorbisdec.c | |
parent | 370bb893d2be1348529eee43f7d1169cda0db43c (diff) | |
download | ffmpeg-6fc892d271912e8ca0b0512e224575b192f5addf.tar.gz |
libvorbisdec: fix const nitpick warning
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/libvorbisdec.c')
-rw-r--r-- | libavcodec/libvorbisdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
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]; } |