Skip to content
Snippets Groups Projects
Commit d87fe268 authored by wm4's avatar wm4 Committed by Michael Niedermayer
Browse files

avformat/mp3dec: fix gapless audio support


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.

Signed-off-by: default avatarMichael Niedermayer <michaelni@gmx.at>
parent 7ac6b8cf
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment