cin audio: remove unneeded cast from void*
authorJustin Ruggles <justin.ruggles@gmail.com>
Thu, 27 Oct 2011 17:35:25 +0000 (13:35 -0400)
committerJustin Ruggles <justin.ruggles@gmail.com>
Sat, 29 Oct 2011 20:43:40 +0000 (16:43 -0400)
libavcodec/dsicinav.c

index 832efab..cafcaa7 100644 (file)
@@ -327,7 +327,7 @@ static int cinaudio_decode_frame(AVCodecContext *avctx,
     int buf_size = avpkt->size;
     CinAudioContext *cin = avctx->priv_data;
     const uint8_t *src = buf;
-    int16_t *samples = (int16_t *)data;
+    int16_t *samples = data;
 
     buf_size = FFMIN(buf_size, *data_size/2);