changeset 12285:de55a539a2e1 libavcodec

remove useless cast
author aurel
date Tue, 27 Jul 2010 21:12:16 +0000
parents 81871058b27c
children 91e45d11dd6e
files dvdsubdec.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/dvdsubdec.c	Tue Jul 27 17:11:13 2010 +0000
+++ b/dvdsubdec.c	Tue Jul 27 21:12:16 2010 +0000
@@ -460,7 +460,7 @@
 {
     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);