mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
avcodec/utils: cast a function argument to shut up a compiler warning
libavcodec/utils.c:251: note: expected ‘const uint8_t *’ but argument is of type ‘const short int *’
This commit is contained in:
parent
4466d0e84b
commit
0c517644b2
@ -1047,7 +1047,8 @@ int attribute_align_arg avcodec_encode_audio(AVCodecContext *avctx,
|
||||
avctx->sample_fmt, 1);
|
||||
if ((ret = avcodec_fill_audio_frame(frame, avctx->channels,
|
||||
avctx->sample_fmt,
|
||||
samples, samples_size, 1)))
|
||||
(const uint8_t *) samples,
|
||||
samples_size, 1)))
|
||||
return ret;
|
||||
|
||||
/* fabricate frame pts from sample count.
|
||||
|
Loading…
Reference in New Issue
Block a user