Commit 6fc892d2 authored by Michael Niedermayer's avatar Michael Niedermayer

libvorbisdec: fix const nitpick warning

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 370bb893
...@@ -48,7 +48,7 @@ static int oggvorbis_decode_init(AVCodecContext *avccontext) { ...@@ -48,7 +48,7 @@ static int oggvorbis_decode_init(AVCodecContext *avccontext) {
if(p[0] == 0 && p[1] == 30) { if(p[0] == 0 && p[1] == 30) {
for(i = 0; i < 3; i++){ for(i = 0; i < 3; i++){
hsizes[i] = bytestream_get_be16(&p); hsizes[i] = bytestream_get_be16((const uint8_t **)&p);
headers[i] = p; headers[i] = p;
p += hsizes[i]; p += hsizes[i];
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment