# HG changeset patch # User reimar # Date 1266145764 0 # Node ID 828219ec9742bd26a30ee0e9224f13236c850140 # Parent b7ef5e62a64912288fcbfe8eddd778a814e86089 Remove useless casts. diff -r b7ef5e62a649 -r 828219ec9742 libmpcodecs/vd_theora.c --- 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;