cin audio: remove unneeded cast from void*

This commit is contained in:
Justin Ruggles 2011-10-27 13:35:25 -04:00
parent 03381c12b3
commit 64e19ba48b
1 changed files with 1 additions and 1 deletions

View 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);