[MPlayer-dev-eng] [PATCH] small warning fix in vf_1bpp.c

Dominik Mierzejewski dominik at rangers.eu.org
Sun Oct 20 17:48:54 CEST 2002


This patch fixes the following warning:
vf_1bpp.c:151: warning: return makes integer from pointer without a cast

-- 
MPlayer RPMs maintainer: http://www.piorunek.pl/~dominik/linux/pkgs/mplayer/
"The Universe doesn't give you any points for doing things that are easy."
        -- Sheridan to Garibaldi in Babylon 5:"The Geometry of Shadows"
-------------- next part --------------
--- MPlayer-20021020/libmpcodecs/vf_1bpp.c.warn	Wed Oct 16 20:40:03 2002
+++ MPlayer-20021020/libmpcodecs/vf_1bpp.c	Sun Oct 20 17:03:06 2002
@@ -148,7 +148,7 @@
 	break;
     default:
 	mp_msg(MSGT_VFILTER,MSGL_ERR,"Unhandled format: 0x%X\n",dmpi->imgfmt);
-	return NULL;
+	return 0;
     }
 
     return vf_next_put_image(vf,dmpi);


More information about the MPlayer-dev-eng mailing list