[FFmpeg-devel] [RFC] libavformat/avio.h API cleanup
Nicolas George
nicolas.george at normalesup.org
Thu Mar 17 10:56:15 CET 2011
Le sextidi 16 ventôse, an CCXIX, Michael Niedermayer a écrit :
> why not call it URL_(FLAG_)EXCL ?
Possible too, indeed.
I have tried to implement something like that, but I was stopped pretty
soon: what if the protocol do not support it? Ignore the flag? Fail
preventively? Emulate it using av_url_exists?
Ignoring the flag is the easy solution, but I do not think it is acceptable,
because the presence of the flag would give a false feeling of safety to the
programmer.
Regards,
--
Nicolas George
More information about the ffmpeg-devel
mailing list