[FFmpeg-devel] [FFmpeg-cvslog] avcodec: add Apple Pixlet decoder
Paul B Mahol
onemda at gmail.com
Sat Dec 24 11:40:32 EET 2016
On 12/24/16, Andreas Cadhalpun <andreas.cadhalpun at googlemail.com> wrote:
>>>> + *got_frame = 1;
>>>> +
>>>> + return pktsize;
>>>
>>> Since this is a video decoder, this should always return the full
>>> avpkt->size.
>>
>> Wrong. It returns what it consumes.
>
> Video decoders are expected to consume the full packet and the new decoding
> API does that.
> So not returning the full packet size results in a behavior difference
> between the new
> and the old API, which is bad. Why would you want that?
Because I do exactly what this decoder should do.
More information about the ffmpeg-devel
mailing list