Re: [FFmpeg-devel] [PATCH] aacdec: don't return frames without data from aac_decode_er_frame

2015-11-09 Thread Rostislav Pehlivanov
Applied, thanks On Mon, 2015-11-09 at 22:16 +0100, Andreas Cadhalpun wrote: > This is similar to commit ec38a1b for aac_decode_frame_int. > > Signed-off-by: Andreas Cadhalpun > --- >  libavcodec/aacdec_template.c | 5 + >  1 file changed, 5 insertions(+) > > diff --git a/libavcodec/aacdec_te

Re: [FFmpeg-devel] [PATCH] aacdec: don't return frames without data from aac_decode_er_frame

2015-11-09 Thread Michael Niedermayer
On Mon, Nov 09, 2015 at 10:16:01PM +0100, Andreas Cadhalpun wrote: > This is similar to commit ec38a1b for aac_decode_frame_int. > > Signed-off-by: Andreas Cadhalpun > --- > libavcodec/aacdec_template.c | 5 + > 1 file changed, 5 insertions(+) should be ok thx [...] -- Michael GnuPG

Re: [FFmpeg-devel] [PATCH] aacdec: don't return frames without data

2015-05-12 Thread Michael Niedermayer
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