[Ffmpeg-devel] invalid new backstep: mpegaudio decoding either faulty or seeking is broken

Michael Niedermayer michaelni
Mon Nov 20 17:53:27 CET 2006


Hi

On Tue, Nov 14, 2006 at 08:34:04PM +0100, Michael Niedermayer wrote:
> Hi
> 
> On Tue, Nov 14, 2006 at 08:56:34PM +0200, Thanos Kyritsis wrote:
> > On Thursday 09 November 2006 20:30, Thanos Kyritsis wrote:
> > > 1) My own code and ffmpeg tool sometimes fail when seeking and
> > > cutting:
> > >
> > > ffmpeg -ss 00:00:40.332 -t 2 -i movie.avi -acodec pcm_s16le clip.wav
> > 
> > Ok, I tracked down which change broke seeding and cutting.
> > 
> > It's revision 6836 (libavcodec/mpegaudiodec.c).
> > 
> > And this change is what caused all this:
> > 
> > http://svn.mplayerhq.hu/ffmpeg/trunk/libavcodec/mpegaudiodec.c?r1=6577&r2=6836
> > "avoid random noise on damaged frames"
> > 
> > 
> > If I revert this change and apply it into the current svn revision 
> > (comment return -1 and uncomment the line above it), then seeding and 
> > cutting via the official *FFMPEG* command tool works again smoothly.
> > 
> > Michael ? :) Any comments ?
> 
> the change was bad, the code before too, if anyone wants to reverse it
> in svn do so

are there still issues with mp3 decoding? or is the latest code ok?

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

In the past you could go to a library and read, borrow or copy any book
Today you'd get arrested for mere telling someone where the library is




More information about the ffmpeg-devel mailing list