aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVitor Sessak <vitor1001@gmail.com>2010-03-24 19:58:12 +0000
committerVitor Sessak <vitor1001@gmail.com>2010-03-24 19:58:12 +0000
commit59856b98910fcbbba5ec64540ae9b00341855b69 (patch)
treefffc9ff39d8ab103f42ed1f5fb4685b28399e0e9
parent3032276b189263c1aabe6dae34610b0c8af5e090 (diff)
downloadffmpeg-59856b98910fcbbba5ec64540ae9b00341855b69.tar.gz
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 *)’ Originally committed as revision 22659 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/nut.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/nut.c b/libavformat/nut.c
index d969bbc526..61c588c05a 100644
--- a/libavformat/nut.c
+++ b/libavformat/nut.c
@@ -69,9 +69,10 @@ void ff_nut_add_sp(NUTContext *nut, int64_t pos, int64_t back_ptr, int64_t ts){
}
}
-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)