[FFmpeg-devel] [PATCH] Ac3/AAC parser: remove incomplete first frames

Reimar Döffinger Reimar.Doeffinger
Sun Jan 24 23:18:53 CET 2010

On Sun, Jan 24, 2010 at 10:53:42PM +0100, Reimar D?ffinger wrote:
> On Sun, Jan 24, 2010 at 04:43:51PM -0500, Justin Ruggles wrote:
> > I don't know why there would be "annoying sounds" after seeking.  Maybe
> > there is data left in the parser buffer?  Do you have a sample I could
> > test?  Is this happening with ffplay?
> I think I can slightly hear it when wildly seeking around in
> http://samples.mplayerhq.hu/A-codecs/AC3/ac3-sound-sample.vob

Actually just quickly clicking at the same point should make it
quite easy to hear (you need to choose the spot a bit, it's
not easy to hear everywhere).
You should be able to hear a difference compared to attached patch
(in contrast to the last one I hope this one actually works -
that completely undocumented pc->index magic had me a bit confused).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ac3parse.diff
Type: text/x-diff
Size: 1004 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100124/7b6d1f02/attachment.diff>

More information about the ffmpeg-devel mailing list