[FFmpeg-devel] [PATCH] Fix some warnings in NUT (de)muxer

Vitor Sessak vitor1001
Wed Mar 24 20:35:24 CET 2010


$subj.

Patch 1:
libavformat/nutdec.c: In function ?read_seek?:
libavformat/nutdec.c:862: warning: passing argument 3 of ?av_tree_find? 
from incompatible pointer type
./libavutil/tree.h:44: note: expected ?int (*)(void *, const void *)? 
but argument is of type ?int (*)(struct Syncpoint *, struct Syncpoint *)?
libavformat/nutdec.c:871: warning: passing argument 3 of ?av_tree_find? 
from incompatible pointer type
./libavutil/tree.h:44: note: expected ?int (*)(void *, const void *)? 
but argument is of type ?int (*)(struct Syncpoint *, struct Syncpoint *)?
libavformat/nutdec.c:879: warning: passing argument 3 of ?av_tree_find? 
from incompatible pointer type
./libavutil/tree.h:44: note: expected ?int (*)(void *, const void *)? 
but argument is of type ?int (*)(struct Syncpoint *, struct Syncpoint *)?
CC	libavformat/nutenc.o
libavformat/nutenc.c: In function ?write_packet?:
libavformat/nutenc.c:680: warning: passing argument 3 of ?av_tree_find? 
from incompatible pointer type
./libavutil/tree.h:44: note: expected ?int (*)(void *, const void *)? 
but argument is of type ?int (*)(struct Syncpoint *, struct Syncpoint *)?

Patch 2:
libavformat/nutdec.c: In function ?read_seek?:
libavformat/nutdec.c:862: warning: passing argument 4 of ?av_tree_find? 
from incompatible pointer type
./libavutil/tree.h:44: note: expected ?void **? but argument is of type 
?struct Syncpoint **?
libavformat/nutdec.c:871: warning: passing argument 4 of ?av_tree_find? 
from incompatible pointer type
./libavutil/tree.h:44: note: expected ?void **? but argument is of type 
?struct Syncpoint **?

-Vitor
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nut_warnings.diff
Type: text/x-patch
Size: 1542 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100324/90edcbd0/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nut_warnings2.diff
Type: text/x-patch
Size: 1359 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100324/90edcbd0/attachment-0001.bin>



More information about the ffmpeg-devel mailing list