On 12/24/16, Andreas Cadhalpun <andreas.cadhal...@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. _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel