Commit 53dc98b2 authored by vitor's avatar vitor

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 *)’


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@22659 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 29bcaf94
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment