From af0554e5306ba163fcaa15e148cdad5f9781fd50 Mon Sep 17 00:00:00 2001 From: Aurelien Jacobs Date: Tue, 27 Jul 2010 21:12:16 +0000 Subject: [PATCH] remove useless cast Originally committed as revision 24553 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/dvdsubdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/dvdsubdec.c b/libavcodec/dvdsubdec.c index 98b766e653..ea7467fdf5 100644 --- a/libavcodec/dvdsubdec.c +++ b/libavcodec/dvdsubdec.c @@ -460,7 +460,7 @@ static int dvdsub_decode(AVCodecContext *avctx, { const uint8_t *buf = avpkt->data; int buf_size = avpkt->size; - AVSubtitle *sub = (void *)data; + AVSubtitle *sub = data; int is_menu; is_menu = decode_dvd_subtitles(sub, buf, buf_size);