[FFmpeg-cvslog] wmalossless: Fix incompatoble pointer type warnings

Michael Niedermayer git at videolan.org
Thu Jan 19 08:59:29 CET 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu Jan 19 08:51:56 2012 +0100| [1ce8377c78bed79f14be0ec7af4a07e903e7378d] | committer: Michael Niedermayer

wmalossless: Fix incompatoble pointer type warnings

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 libavcodec/wmalosslessdec.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/wmalosslessdec.c b/libavcodec/wmalosslessdec.c
index d190b2d..3f23b66 100644
--- a/libavcodec/wmalosslessdec.c
+++ b/libavcodec/wmalosslessdec.c
@@ -1424,8 +1424,8 @@ static int decode_packet(AVCodecContext *avctx,
         s->samples_16     = (int16_t *) data;
         s->samples_16_end = (int16_t *) ((int8_t*)data + *data_size);
     } else {
-        s->samples_32     = (int *) data;
-        s->samples_32_end = (int *) ((int8_t*)data + *data_size);
+        s->samples_32     = (void *) data;
+        s->samples_32_end = (void *) ((int8_t*)data + *data_size);
     }
     *data_size = 0;
 



More information about the ffmpeg-cvslog mailing list