[FFmpeg-cvslog] avcodec/shorten: use uint16_t for wave_format

Paul B Mahol git at videolan.org
Mon Sep 11 02:09:04 EEST 2023


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Sun Sep 10 22:50:35 2023 +0200| [64f538c356b22922663a6a6d3d0a062ae574dc44] | committer: Paul B Mahol

avcodec/shorten: use uint16_t for wave_format

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=64f538c356b22922663a6a6d3d0a062ae574dc44
---

 libavcodec/shorten.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/shorten.c b/libavcodec/shorten.c
index eca0c4e85a..0ad95bf97e 100644
--- a/libavcodec/shorten.c
+++ b/libavcodec/shorten.c
@@ -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);



More information about the ffmpeg-cvslog mailing list