[FFmpeg-devel] [PATCH]Make reset_ptr() void

Carl Eugen Hoyos cehoyos
Thu Apr 23 23:53:28 CEST 2009


Hi!

Attached patch makes reset_ptr() void: There is no return (and a compiler 
warning) and the return value is never used.

I'll commit tomorrow if nobody objects, Carl Eugen
-------------- next part --------------
Index: libswscale/swscale.c
===================================================================
--- libswscale/swscale.c	(revision 29219)
+++ libswscale/swscale.c	(working copy)
@@ -2911,7 +2911,7 @@
     return c;
 }
 
-static int reset_ptr(uint8_t* src[], int format){
+static void reset_ptr(uint8_t* src[], int format){
     if(!isALPHA(format))
         src[3]=NULL;
     if(!isPlanarYUV(format)){



More information about the ffmpeg-devel mailing list