On 16/06/15 00:14, Andreas Cadhalpun wrote:
>> I wonder if the sanity check in the decoder would be enough to not have
>> other problems down the line.
> 
> No, because the problem is in the two lines below the check.

Not here =)

>> I'd provide an explode mode and as best effort mode I'd just mark the
>> data as corrupted.
> 
> What do you mean with marking the data as corrupted?

There is a packet flag, AV_PKT_FLAG_CORRUPT, to mark the data that
shouldn't be trusted.

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

Reply via email to