mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
libvorbisdec: fix const nitpick warning
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
370bb893d2
commit
6fc892d271
@ -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];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user