aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/libvorbisdec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-08-30 18:01:14 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-08-30 18:01:14 +0200
commit6fc892d271912e8ca0b0512e224575b192f5addf (patch)
treefc18a283f350cfc52fd1592175ae06adbacb6f5c /libavcodec/libvorbisdec.c
parent370bb893d2be1348529eee43f7d1169cda0db43c (diff)
downloadffmpeg-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.c2
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];
}