[FFmpeg-devel] [PATCH 2/5] avformat/mp3dec: use the common mechanism for skipping samples

Michael Niedermayer michaelni at gmx.at
Wed Apr 22 01:42:39 CEST 2015


On Wed, Apr 22, 2015 at 01:09:26AM +0200, wm4 wrote:
> On Wed, 22 Apr 2015 00:48:30 +0200
> Michael Niedermayer <michaelni at gmx.at> wrote:
> 
> > On Tue, Apr 21, 2015 at 09:33:51PM +0200, wm4 wrote:
> > > ---
> > > Feel free to squash with the previous patch if it's too fine-grained.
> > > ---
> > >  libavformat/mp3dec.c | 7 ++-----
> > >  1 file changed, 2 insertions(+), 5 deletions(-)
> > 
> > this breaks fate-seek-acodec-mp2
> > 
> > [...]
> 
> The old behavior is quite inconsistent:
> 
> - if the file has a LAME header
>      - the start of the file skps at least 529 samples
>      - seeking to the start also does
> - if the file has no LAME hesder
>      - the start of the file skips no samples
>      - seeking to the start skips 529 samples
> 
> So should it skip data on the start or not? (If no LAME header.)

hmm, i was not conciously aware of it being inconsistent

iam not against the change the patch does if you think its ok and
the patch that introduces it also updates the fate checksum

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

During times of universal deceit, telling the truth becomes a
revolutionary act. -- George Orwell
-------------- 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/20150422/c892acef/attachment.asc>


More information about the ffmpeg-devel mailing list