On 08/11/14 08:10, Anton Khirnov wrote:
I can AVERROR_BUG on the condition then.

That is not a sustainable pattern. You could randomly insert checks for
the validity of every possible parameter everywhere.


In general I do agree, in this specific case could you have a second look and think how to document at least so the caller won't do something stupid?

I'll prepare a coverity model to make some documented situation not trigger reports.

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

Reply via email to