[FFmpeg-devel] [PATCH] Add XPM decoder

Marton Balint cus at passwd.hu
Mon Mar 13 05:32:06 EET 2017



On Sun, 12 Mar 2017, Paul B Mahol wrote:

> On 3/12/17, Nicolas George <george at nsup.org> wrote:
>> Le duodi 22 ventose, an CCXXV, Paul B Mahol a ecrit :
>>> I absolutely disagree with you on this one.
>>
>> I may have formulated the things a bit sarcastically, but the technical
>> facts remain, and you need to address them.
>
> Yes, I addressed this specific one - Ignoring it.
>
> Dumping all data because of single corrupted byte is bad idea.

You should set either AVFrame->flags to AV_FRAME_FLAG_CORRUPT or 
AVFrame->decode_error_flags to something, so the API user can distinguish 
between a frame with possible guessed colors and a frame without such 
guesses.

Regards,
Marton


More information about the ffmpeg-devel mailing list