[Ffmpeg-devel] [PATCH] use avcodec_decode_audio2 in ffplay.c
Michael Niedermayer
michaelni
Wed Mar 7 15:36:39 CET 2007
Hi
On Wed, Mar 07, 2007 at 06:16:38PM +0800, Limin Wang wrote:
> Hi,
>
> As 'avcodec_decode_audio' is deprecated, the patch try to replace it with
> avcodec_decode_audio2.
as audio_buf is passed as argument into audio_decode_frame() so should
its size, instead of hardcoding the current size, this is very risky as
there is nothing in the functions documentation which says that the
buffer must be that large
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
If you really think that XML is the answer, then you definitly missunderstood
the question -- Attila Kinali
-------------- 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/20070307/082adb37/attachment.pgp>
More information about the ffmpeg-devel
mailing list