[FFmpeg-devel] [PATCH] aacdec: don't return frames without data
Michael Niedermayer
michaelni at gmx.at
Tue May 12 21:29:12 CEST 2015
On Tue, May 12, 2015 at 08:27:21PM +0200, Andreas Cadhalpun wrote:
> Since commit 676a395a aac->frame->data is not necessarily allocated at
> the end of aac_decode_frame_int if avctx->channels is 0.
>
> In this case a bogus frame without any data, but non-zero nb_samples is
> returned.
>
> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com>
> ---
> libavcodec/aacdec.c | 6 ++++++
> 1 file changed, 6 insertions(+)
applied
thanks
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Into a blind darkness they enter who follow after the Ignorance,
they as if into a greater darkness enter who devote themselves
to the Knowledge alone. -- Isha Upanishad
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150512/6ad53138/attachment.asc>
More information about the ffmpeg-devel
mailing list