[MPlayer-cvslog] r22193 - trunk/libaf/af_pan.c

uau subversion at mplayerhq.hu
Sat Feb 10 18:27:11 CET 2007


Author: uau
Date: Sat Feb 10 18:27:11 2007
New Revision: 22193

Modified:
   trunk/libaf/af_pan.c

Log:
Fix nonsense tests ("if (af->data->audio)" before "if (af->data)").
Probably doesn't matter in practice.


Modified: trunk/libaf/af_pan.c
==============================================================================
--- trunk/libaf/af_pan.c	(original)
+++ trunk/libaf/af_pan.c	Sat Feb 10 18:27:11 2007
@@ -117,10 +117,9 @@
 // Deallocate memory 
 static void uninit(struct af_instance_s* af)
 {
-  if(af->data->audio)
-    free(af->data->audio);
   if(af->data)
-    free(af->data);
+    free(af->data->audio);
+  free(af->data);
   if(af->setup)
     free(af->setup);
 }



More information about the MPlayer-cvslog mailing list