[MPlayer-cvslog] r30563 - trunk/libmpcodecs/vd_theora.c

reimar subversion at mplayerhq.hu
Sun Feb 14 12:09:24 CET 2010


Author: reimar
Date: Sun Feb 14 12:09:24 2010
New Revision: 30563

Log:
Remove useless casts.

Modified:
   trunk/libmpcodecs/vd_theora.c

Modified: trunk/libmpcodecs/vd_theora.c
==============================================================================
--- trunk/libmpcodecs/vd_theora.c	Sun Feb 14 12:06:04 2010	(r30562)
+++ trunk/libmpcodecs/vd_theora.c	Sun Feb 14 12:09:24 2010	(r30563)
@@ -131,7 +131,7 @@ static int init(sh_video_t *sh){
  */
 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 void uninit(sh_video_t *sh)
  */
 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;


More information about the MPlayer-cvslog mailing list