diff nut.c @ 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 7152149eb03f
children dbbcecb1a0dd
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)