mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2025-02-15 02:19:25 +00:00
cin audio: remove unneeded cast from void*
This commit is contained in:
parent
03381c12b3
commit
64e19ba48b
@ -327,7 +327,7 @@ static int cinaudio_decode_frame(AVCodecContext *avctx,
|
||||
int buf_size = avpkt->size;
|
||||
CinAudioContext *cin = avctx->priv_data;
|
||||
const uint8_t *src = buf;
|
||||
int16_t *samples = (int16_t *)data;
|
||||
int16_t *samples = data;
|
||||
|
||||
buf_size = FFMIN(buf_size, *data_size/2);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user