[FFmpeg-devel] [PATCH] define a stub for url_write if nor CONFIG_MUXERS nor CONFIG_PROTOCOLS is defined
Tue Jan 8 14:11:19 CET 2008
M?ns Rullg?rd wrote:
> Guillaume LECERF wrote:
> > Ha all,
> > Since r11264, url_write is undeclared if nor CONFIG_MUXERS nor
> > CONFIG_PROTOCOLS is defined, that is the case when you try to
> > compile mplayer with --disable-mencoder.
> > The attached patch fixes this one, but i'm not sure if it's the
> > best solution.
> This has been discussed before. If muxers are disabled, nothing
> should be calling url_write. Whatever code is doing this should be
Hum... I don't remember about this being discussed.
Anyway, this looks wrong.
url_write() is part of public API/ABI !
So it should always be compiled (and not as a stub).
More information about the ffmpeg-devel