changeset 5878:01b33a7f96ee libavformat

Fix warning: libavformat/nut.c: In function ¡Æff_nut_free_sp¡Ç: libavformat/nut.c:80: warning: passing argument 4 of ¡Æav_tree_enumerate¡Ç from incompatible pointer type ./libavutil/tree.h:92: note: expected ¡Æint (*)(void *, void *)¡Ç but argument is of type ¡Ævoid (*)(void *, void *)¡Ç
author vitor
date Wed, 24 Mar 2010 19:58:12 +0000
parents ba648dfcbe04
children 61062082488b
files nut.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/nut.c	Wed Mar 24 18:52:27 2010 +0000
+++ b/nut.c	Wed Mar 24 19:58:12 2010 +0000
@@ -69,9 +69,10 @@
     }
 }
 
-static void enu_free(void *opaque, void *elem)
+static int enu_free(void *opaque, void *elem)
 {
     av_free(elem);
+    return 0;
 }
 
 void ff_nut_free_sp(NUTContext *nut)