You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avcodec/libspeexdec: make array const
Found-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -63,7 +63,7 @@ static av_cold int libspeex_decode_init(AVCodecContext *avctx)
|
|||||||
return AVERROR_PATCHWELCOME;
|
return AVERROR_PATCHWELCOME;
|
||||||
}
|
}
|
||||||
|
|
||||||
s->pktsize = ((int[]){5,10,15,20,20,28,28,38,38,46,62})[quality];
|
s->pktsize = ((const int[]){5,10,15,20,20,28,28,38,38,46,62})[quality];
|
||||||
|
|
||||||
spx_mode = 0;
|
spx_mode = 0;
|
||||||
} else if (header) {
|
} else if (header) {
|
||||||
|
Reference in New Issue
Block a user