Mercurial > mplayer.hg
diff libmpcodecs/vd_ffmpeg.c @ 18879:cc65a585fdcc
rm unnecesary casts from void* - part 3
author | reynaldo |
---|---|
date | Sun, 02 Jul 2006 08:17:07 +0000 |
parents | 4ca6b585aa58 |
children | d9a75b26da6c |
line wrap: on
line diff
--- a/libmpcodecs/vd_ffmpeg.c Sun Jul 02 03:59:36 2006 +0000 +++ b/libmpcodecs/vd_ffmpeg.c Sun Jul 02 08:17:07 2006 +0000 @@ -383,7 +383,7 @@ /* Pass palette to codec */ #if LIBAVCODEC_BUILD >= 4689 if (sh->bih && (sh->bih->biBitCount <= 8)) { - avctx->palctrl = (AVPaletteControl*)calloc(1,sizeof(AVPaletteControl)); + avctx->palctrl = calloc(1,sizeof(AVPaletteControl)); avctx->palctrl->palette_changed = 1; if (sh->bih->biSize-sizeof(BITMAPINFOHEADER)) /* Palette size in biSize */