[FFmpeg-devel] [PATCH] AC3 decoder stability

Michael Niedermayer michaelni
Sun Mar 23 22:54:01 CET 2008


On Sat, Mar 22, 2008 at 08:44:23PM -0400, Justin Ruggles wrote:
> Hi,
> 
> Here is the least invasive and fastest solution I could come up with for
> fixing the problem with overreading the input buffer in the AC3 decoder.

This sounds like you tried other things as well?
Have you tried placeing a few checks for the remaining buffer size in the
code? Keep in mind that you have at least 64bit available after the
bitstream and that could be increased a little if that would help.
Are such checks slower than the copy?
If you have tried or try it iam interrested in the patch.

... i simply like to understand all options we have before commenting on
the copy solution ...

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

Freedom in capitalist society always remains about the same as it was in
ancient Greek republics: Freedom for slave owners. -- Vladimir Lenin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080323/7976967e/attachment.pgp>



More information about the ffmpeg-devel mailing list