ffmpeg | branch: master | Paul B Mahol <[email protected]> | 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);

_______________________________________________
ffmpeg-cvslog mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to