On 13/09/13 14:38, Derek Buitenhuis wrote:
> On 6/15/2013 8:24 PM, Luca Barbato wrote:
>> -            abort(); // fatal error, we are called on a partially 
>> initialized table
>> +            return AVERROR_BUG;
> 
> Perhaps I misunderstand the comment, but should this not be AVERROR(ENOMEM) ?

If it happens is because in your code you wrongly set the memory you
would use, thus a bug.

If you are on a system in which you would recover from a not enough
memory fault (e.g. wait to get more memory and try again) you'd have an
infinite loop since it would keep failing.

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

Reply via email to