[FFmpeg-devel] [PATCH] avformat/mp3dec: fix gapless audio support

Michael Niedermayer michaelni at gmx.at
Sat Sep 20 20:18:51 CEST 2014


On Sat, Sep 20, 2014 at 01:48:05PM +0200, wm4 wrote:
> The code already had skipping of initial padding, but discarding
> trailing frame padding was missing.
> 
> This is somewhat questionable, because it will make the decoder discard
> any data after the declared file size in the LAME header. But note that
> skipping full frames at the end of the stream is required. Encoders
> actually create such files.
> ---
> Fix exif-image-embedded: don't set bogus end_discard_sample if the
> Xing headers don't contain a frame count.
> ---
>  libavformat/avformat.h |  8 ++++++++
>  libavformat/mp3dec.c   |  2 ++
>  libavformat/utils.c    | 17 ++++++++++++++++-
>  3 files changed, 26 insertions(+), 1 deletion(-)

applied

thanks

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

No human being will ever know the Truth, for even if they happen to say it
by chance, they would not even known they had done so. -- Xenophanes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140920/3c6bc698/attachment.asc>


More information about the ffmpeg-devel mailing list