[FFmpeg-cvslog] r22659 - trunk/libavformat/nut.c
vitor
subversion
Wed Mar 24 20:58:12 CET 2010
Author: vitor
Date: Wed Mar 24 20:58:12 2010
New Revision: 22659
Log:
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 *)?
Modified:
trunk/libavformat/nut.c
Modified: trunk/libavformat/nut.c
==============================================================================
--- trunk/libavformat/nut.c Wed Mar 24 20:35:30 2010 (r22658)
+++ trunk/libavformat/nut.c Wed Mar 24 20:58:12 2010 (r22659)
@@ -69,9 +69,10 @@ void ff_nut_add_sp(NUTContext *nut, int6
}
}
-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)
More information about the ffmpeg-cvslog
mailing list