mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
aacenc: Mark deinterleave_input_samples argument as const.
This fixes the warning: libavcodec/aacenc.c:524: warning: passing argument 2 of ‘deinterleave_input_samples’ discards qualifiers from pointer target type
This commit is contained in:
parent
1f068e4450
commit
e484265c97
@ -477,7 +477,7 @@ static void put_bitstream_info(AVCodecContext *avctx, AACEncContext *s,
|
|||||||
* Deinterleave input samples.
|
* Deinterleave input samples.
|
||||||
* Channels are reordered from Libav's default order to AAC order.
|
* Channels are reordered from Libav's default order to AAC order.
|
||||||
*/
|
*/
|
||||||
static void deinterleave_input_samples(AACEncContext *s, AVFrame *frame)
|
static void deinterleave_input_samples(AACEncContext *s, const AVFrame *frame)
|
||||||
{
|
{
|
||||||
int ch, i;
|
int ch, i;
|
||||||
const int sinc = s->channels;
|
const int sinc = s->channels;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user