diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-11-09 20:17:37 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-11-09 20:18:01 +0400 |
commit | 7989f7e0b5229e618a7f6bf97c6608090a7db106 (patch) | |
tree | 8d18d9073c8207e85655f13676d8193437d3ddc1 /libavformat/xmv.c | |
parent | 9195377bc5818b65b34556938749d97eecde413b (diff) |
xmv: Fix integer overflow
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/xmv.c')
-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. |