avcodec/shorten: use uint16_t for wave_format

This commit is contained in:
Paul B Mahol 2023-09-10 22:50:35 +02:00
parent e9bbb39e94
commit 64f538c356

View File

@ -280,7 +280,7 @@ static int decode_wave_header(AVCodecContext *avctx, const uint8_t *header,
int header_size)
{
int len, bps;
short wave_format;
uint16_t wave_format;
GetByteContext gb;
bytestream2_init(&gb, header, header_size);