From 6ca1016b3afc37fb34d4768698da9aa4e5f9c351 Mon Sep 17 00:00:00 2001 From: Mashiat Sarker Shakkhar Date: Sun, 22 Jan 2012 17:49:19 +0600 Subject: [PATCH] Use correct variable type for 32-bit samples buffer --- libavcodec/wmalosslessdec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/wmalosslessdec.c b/libavcodec/wmalosslessdec.c index c623f4ee5a..25fdd8fefa 100644 --- a/libavcodec/wmalosslessdec.c +++ b/libavcodec/wmalosslessdec.c @@ -202,8 +202,8 @@ typedef struct WmallDecodeCtx { int buf_bit_size; ///< buffer size in bits int16_t* samples_16; ///< current samplebuffer pointer (16-bit) int16_t* samples_16_end; ///< maximum samplebuffer pointer - int16_t* samples_32; ///< current samplebuffer pointer (24-bit) - int16_t* samples_32_end; ///< maximum samplebuffer pointer + int *samples_32; ///< current samplebuffer pointer (24-bit) + int *samples_32_end; ///< maximum samplebuffer pointer uint8_t drc_gain; ///< gain for the DRC tool int8_t skip_frame; ///< skip output step int8_t parsed_all_subframes; ///< all subframes decoded? -- 2.11.0