[FFmpeg-cvslog] r29538 - trunk/libswscale/swscale-example.c

reimar subversion
Wed Aug 19 10:21:56 CEST 2009


Author: reimar
Date: Wed Aug 19 10:21:55 2009
New Revision: 29538

Log:
Free initial swscale context, too. Avoids a valgrind warning.

Modified:
   trunk/libswscale/swscale-example.c

Modified: trunk/libswscale/swscale-example.c
==============================================================================
--- trunk/libswscale/swscale-example.c	Wed Aug 19 10:18:53 2009	(r29537)
+++ trunk/libswscale/swscale-example.c	Wed Aug 19 10:21:55 2009	(r29538)
@@ -235,6 +235,7 @@ int main(int argc, char **argv)
         }
     }
     sws_scale(sws, rgb_src, rgb_stride, 0, H, src, stride);
+    sws_freeContext(sws);
 
     selfTest(src, stride, W, H);
 



More information about the ffmpeg-cvslog mailing list