Does it still fail? Thanks in advance.
On Sat, Jul 23, 2016 at 10:36 AM, Omid Ghaffarinia <omid.ghaffari...@gmail.com> wrote: > I'm sorry for that, it failed because it was prepared for release/2.8, > this one should work on master. > > > On Thu, Jul 21, 2016 at 3:48 AM, Michael Niedermayer > <mich...@niedermayer.cc> wrote: >> On Wed, Jul 20, 2016 at 05:38:10PM +0430, Omid Ghaffarinia wrote: >>> Thanks for testing in mingw >>> New patch attached, which should work now. >> >> still fails, even on ubuntu: >> libavformat/udp.c: In function ‘udp_set_multicast_ttl’: >> libavformat/udp.c:367:13: warning: passing argument 1 of ‘udp_set_url’ from >> incompatible pointer type [enabled by default] >> libavformat/udp.c:328:12: note: expected ‘struct URLContext *’ but argument >> is of type ‘struct sockaddr_storage *’ >> libavformat/udp.c:367:13: warning: passing argument 2 of ‘udp_set_url’ from >> incompatible pointer type [enabled by default] >> libavformat/udp.c:328:12: note: expected ‘struct sockaddr_storage *’ but >> argument is of type ‘const char *’ >> libavformat/udp.c:367:13: error: too few arguments to function ‘udp_set_url’ >> libavformat/udp.c:328:12: note: declared here >> libavformat/udp.c:376:13: warning: passing argument 1 of ‘udp_set_url’ from >> incompatible pointer type [enabled by default] >> libavformat/udp.c:328:12: note: expected ‘struct URLContext *’ but argument >> is of type ‘struct sockaddr_storage *’ >> libavformat/udp.c:376:13: warning: passing argument 2 of ‘udp_set_url’ from >> incompatible pointer type [enabled by default] >> libavformat/udp.c:328:12: note: expected ‘struct sockaddr_storage *’ but >> argument is of type ‘const char *’ >> libavformat/udp.c:376:13: error: too few arguments to function ‘udp_set_url’ >> libavformat/udp.c:328:12: note: declared here >> libavformat/udp.c: In function ‘udp_open’: >> libavformat/udp.c:907:17: warning: passing argument 1 of ‘udp_set_url’ from >> incompatible pointer type [enabled by default] >> libavformat/udp.c:328:12: note: expected ‘struct URLContext *’ but argument >> is of type ‘struct sockaddr_storage *’ >> libavformat/udp.c:907:17: warning: passing argument 2 of ‘udp_set_url’ from >> incompatible pointer type [enabled by default] >> libavformat/udp.c:328:12: note: expected ‘struct sockaddr_storage *’ but >> argument is of type ‘const char *’ >> libavformat/udp.c:907:17: error: too few arguments to function ‘udp_set_url’ >> libavformat/udp.c:328:12: note: declared here >> >> >> on mingw64: >> CC libavformat/udp.o >> src/libavformat/udp.c: In function ‘udp_set_multicast_ttl’: >> src/libavformat/udp.c:367:13: warning: passing argument 1 of ‘udp_set_url’ >> from incompatible pointer type [enabled by default] >> src/libavformat/udp.c:328:12: note: expected ‘struct URLContext *’ but >> argument is of type ‘struct sockaddr_storage *’ >> src/libavformat/udp.c:367:13: warning: passing argument 2 of ‘udp_set_url’ >> from incompatible pointer type [enabled by default] >> src/libavformat/udp.c:328:12: note: expected ‘struct sockaddr_storage *’ but >> argument is of type ‘const char *’ >> src/libavformat/udp.c:367:13: error: too few arguments to function >> ‘udp_set_url’ >> src/libavformat/udp.c:328:12: note: declared here >> src/libavformat/udp.c:376:13: warning: passing argument 1 of ‘udp_set_url’ >> from incompatible pointer type [enabled by default] >> src/libavformat/udp.c:328:12: note: expected ‘struct URLContext *’ but >> argument is of type ‘struct sockaddr_storage *’ >> src/libavformat/udp.c:376:13: warning: passing argument 2 of ‘udp_set_url’ >> from incompatible pointer type [enabled by default] >> src/libavformat/udp.c:328:12: note: expected ‘struct sockaddr_storage *’ but >> argument is of type ‘const char *’ >> src/libavformat/udp.c:376:13: error: too few arguments to function >> ‘udp_set_url’ >> src/libavformat/udp.c:328:12: note: declared here >> src/libavformat/udp.c: In function ‘udp_open’: >> src/libavformat/udp.c:907:17: warning: passing argument 1 of ‘udp_set_url’ >> from incompatible pointer type [enabled by default] >> src/libavformat/udp.c:328:12: note: expected ‘struct URLContext *’ but >> argument is of type ‘struct sockaddr_storage *’ >> src/libavformat/udp.c:907:17: warning: passing argument 2 of ‘udp_set_url’ >> from incompatible pointer type [enabled by default] >> src/libavformat/udp.c:328:12: note: expected ‘struct sockaddr_storage *’ but >> argument is of type ‘const char *’ >> src/libavformat/udp.c:907:17: error: too few arguments to function >> ‘udp_set_url’ >> src/libavformat/udp.c:328:12: note: declared here >> make: *** [libavformat/udp.o] Error 1 >> make: Target `all' not remade because of errors. >> >> [...] >> -- >> Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB >> >> When the tyrant has disposed of foreign enemies by conquest or treaty, and >> there is nothing more to fear from them, then he is always stirring up >> some war or other, in order that the people may require a leader. -- Plato >> >> _______________________________________________ >> ffmpeg-devel mailing list >> ffmpeg-devel@ffmpeg.org >> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel >> _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel