[Ffmpeg-devel] [RFC] Musepack seeking patch
Michael Niedermayer
michaelni
Wed Dec 27 21:59:44 CET 2006
Hi
On Wed, Dec 27, 2006 at 06:28:55AM +0200, Kostya wrote:
> Here is a patch which enables full Musepack seeking.
looks ok
>
> As a side note: seeking may cause sound distortions because
> Musepack stores scaling coefficients as difference to the
> previous ones. libmppdec workarounds this by decoding
> 32 previous frames but that's a nasty hack and could not
> be done here.
what about something like:
AVCodec.flush(){
skip_frames=32;
}
decode_frame(){
while(skip_frames-- > 0){
... actual decode ...
}
}
?
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
When you are offended at any man's fault, turn to yourself and study your
own failings. Then you will forget your anger. -- Epictetus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20061227/4e73daf8/attachment.pgp>
More information about the ffmpeg-devel
mailing list