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

reimar subversion at mplayerhq.hu
Sun Feb 14 12:11:49 CET 2010


Author: reimar
Date: Sun Feb 14 12:11:49 2010
New Revision: 30565

Log:
Return NULL instead of 0 for function returning a pointer.

Modified:
   trunk/libmpcodecs/vd_theora.c

Modified: trunk/libmpcodecs/vd_theora.c
==============================================================================
--- trunk/libmpcodecs/vd_theora.c	Sun Feb 14 12:09:58 2010	(r30564)
+++ trunk/libmpcodecs/vd_theora.c	Sun Feb 14 12:11:49 2010	(r30565)
@@ -171,7 +171,7 @@ static mp_image_t* decode(sh_video_t *sh
    {
       mp_msg(MSGT_DEMUX,MSGL_ERR,"Theora decode YUVout failed: %i \n",
 	     errorCode);
-      return 0;
+      return NULL;
    }
 
     mpi = mpcodecs_get_image(sh, MP_IMGTYPE_EXPORT, 0, yuv.y_width, yuv.y_height);


More information about the MPlayer-cvslog mailing list