[PATCH] url_write not defined if muxers are disabled
Hi, I've noticed that url_write in avio.c is referenced even if muxers are not enabled, but it's not compiled in. The patch allows to return EIO if someone calls url_fopen/fdopen in write mode while muxers are disabled Regards -- Gianluigi Tiesi <sherpya at netfarm.it> EDP Project Leader Netfarm S.r.l. - http://www.netfarm.it/ Free Software: http://oss.netfarm.it/
2007/12/24, Gianluigi Tiesi <mplayer at netfarm.it>:
Hi, I've noticed that url_write in avio.c is referenced even if muxers are not enabled, but it's not compiled in.
The patch allows to return EIO if someone calls url_fopen/fdopen
Ping? I have a scenario where I need this patch, so is there anything stopping it being applied? //Andrew
On Sun, Dec 23, 2007 at 08:47:21PM +0100, Gianluigi Tiesi wrote:
Hi, I've noticed that url_write in avio.c is referenced even if muxers are not enabled, but it's not compiled in.
The patch allows to return EIO if someone calls url_fopen/fdopen in write mode while muxers are disabled
patch rejected This is a hack no solution, such a dummy function fixes compilation and linking. If it works at runtime is dubious. You would have to proof that all uses of url_write() are wrong and if they are few fix the uses to be under #ifdef instead of giving them a dummy url_write(). [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Freedom in capitalist society always remains about the same as it was in ancient Greek republics: Freedom for slave owners. -- Vladimir Lenin
participants (3)
-
calkina@geexbox.org -
michaelni@gmx.at -
mplayer@netfarm.it