[Ffmpeg-devel] [PATCH] avcodec_decode_audio2() and a52dec.c

Michael Niedermayer michaelni
Wed Jan 17 00:26:31 CET 2007


Hi

On Tue, Jan 16, 2007 at 11:27:55PM +0100, Andreas ?man wrote:
> Hi,
> 
> recent addition of avcodec_decode_audio2() seems break AC3-decoding
> (at least in my app.). When a52_decode_frame() hasn't got enough
> data to produce output it will just return consumed buffers but wont
> touch *data_size, thus fooling caller to believe there is
> AVCODEC_MAX_AUDIO_FRAME_SIZE available bytes for output.

should be fixed

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

It is dangerous to be right in matters on which the established authorities
are wrong. -- Voltaire
-------------- 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/20070117/57eb8520/attachment.pgp>



More information about the ffmpeg-devel mailing list