On Thu, 18 Sep 2014, Luca Barbato wrote:

On 18/09/14 06:36, Reinhard Tartler wrote:
What would be a better reporting mechanism in this case?

Options:

(void) cast to make apparent we do not care about the value

pass the context to avpriv_open and use av_streerror to report _why_ it
failed.

and whatever would make this call fail would make the open above fail as
well.

Courmish, which system does support FD_CLOEXEC and does not support
O_CLOEXEC ?

OSX is the main culprit. Apparently it does exist in current versions, but it did not use to exist.

// Martin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to