[FFmpeg-devel] [PATCH 3/6] avformat/mp3dec: allow enabling generic seek mode
michaelni at gmx.at
Wed Apr 22 14:41:30 CEST 2015
On Wed, Apr 22, 2015 at 12:24:38PM +0200, wm4 wrote:
> "-usetoc 2" now invokes the generic seek and indexing mode. This mode
> skips data until the seek target is reached, and this is exact. It also
> makes gapless audio actually work if a seek past the start of the file
> is involved.
> Change the fate-gapless-mp3 test to use the new mode, and move the old
> one to fate-gapless-mp3-toc (since the test forces use of the Xing TOC).
> The new mode has a different result for the seek - this result is
> actually correct.
> libavformat/mp3dec.c | 12 +++++++++---
> tests/fate/gapless.mak | 5 +++--
> tests/ref/fate/gapless-mp3 | 2 +-
> tests/ref/fate/gapless-mp3-toc | 5 +++++
> 4 files changed, 18 insertions(+), 6 deletions(-)
> create mode 100644 tests/ref/fate/gapless-mp3-toc
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Let us carefully observe those good qualities wherein our enemies excel us
and endeavor to excel them, by avoiding what is faulty, and imitating what
is excellent in them. -- Plutarch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 181 bytes
Desc: Digital signature
More information about the ffmpeg-devel