diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-11-09 17:17:37 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-11-09 17:18:01 +0100 |
commit | 7989f7e0b5229e618a7f6bf97c6608090a7db106 (patch) | |
tree | 8d18d9073c8207e85655f13676d8193437d3ddc1 | |
parent | 9195377bc5818b65b34556938749d97eecde413b (diff) | |
download | ffmpeg-7989f7e0b5229e618a7f6bf97c6608090a7db106.tar.gz |
xmv: Fix integer overflow
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavformat/xmv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/xmv.c b/libavformat/xmv.c index f250aad0b2..81fb94c5f7 100644 --- a/libavformat/xmv.c +++ b/libavformat/xmv.c @@ -77,7 +77,7 @@ typedef struct XMVAudioPacket { uint16_t bits_per_sample; ///< Bits per compressed sample. uint32_t bit_rate; ///< Bits of compressed data per second. uint16_t flags; ///< Flags - uint16_t block_align; ///< Bytes per compressed block. + unsigned block_align; ///< Bytes per compressed block. uint16_t block_samples; ///< Decompressed samples per compressed block. enum AVCodecID codec_id; ///< The codec ID of the compression scheme. |