[Libav-user] Issue with decoding APE files

Nicolas George george at nsup.org
Fri Aug 7 17:43:28 CEST 2015

Le decadi 20 thermidor, an CCXXIII, Nicolas George a écrit :
> If you loop until got_output is 0, then you called the decode function once
> too many. I am surprised it works, I would have imagined that it would
> decode every even packet twice and skip every odd packet. Have you tested
> the actual decoded data?

Scratch that: it will not skip every odd packet. My guess is that it will
skip the second packet, and only it, replacing it with a duplicate of the
first packet. For most contents it will be barely noticeable, but I urge you
to double-check for the sake of correctness.


  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20150807/01cacdff/attachment.sig>

More information about the Libav-user mailing list