changeset 30521:828219ec9742

Remove useless casts.
author reimar
date Sun, 14 Feb 2010 11:09:24 +0000
parents b7ef5e62a649
children 969a093964a9
files libmpcodecs/vd_theora.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vd_theora.c	Sun Feb 14 11:06:04 2010 +0000
+++ b/libmpcodecs/vd_theora.c	Sun Feb 14 11:09:24 2010 +0000
@@ -131,7 +131,7 @@
  */
 static void uninit(sh_video_t *sh)
 {
-   theora_struct_t *context = (theora_struct_t *)sh->context;
+   theora_struct_t *context = sh->context;
 
    if (context)
    {
@@ -147,7 +147,7 @@
  */
 static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags)
 {
-   theora_struct_t *context = (theora_struct_t *)sh->context;
+   theora_struct_t *context = sh->context;
    int errorCode = 0;
    ogg_packet op;
    yuv_buffer yuv;