From 59856b98910fcbbba5ec64540ae9b00341855b69 Mon Sep 17 00:00:00 2001 From: Vitor Sessak Date: Wed, 24 Mar 2010 19:58:12 +0000 Subject: [PATCH] =?UTF-8?q?Fix=20warning:=20libavformat/nut.c:=20In=20func?= =?UTF-8?q?tion=20=E2=80=98ff=5Fnut=5Ffree=5Fsp=E2=80=99:=20libavformat/nu?= =?UTF-8?q?t.c:80:=20warning:=20passing=20argument=204=20of=20=E2=80=98av?= =?UTF-8?q?=5Ftree=5Fenumerate=E2=80=99=20from=20incompatible=20pointer=20?= =?UTF-8?q?type=20./libavutil/tree.h:92:=20note:=20expected=20=E2=80=98int?= =?UTF-8?q?=20(*)(void=20*,=20void=20*)=E2=80=99=20but=20argument=20is=20o?= =?UTF-8?q?f=20type=20=E2=80=98void=20(*)(void=20*,=20void=20*)=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Originally committed as revision 22659 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/nut.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)