[FFmpeg-soc] [soc]: r4282 - aacenc/psymodel.c
alexc
subversion at mplayerhq.hu
Thu May 21 19:20:52 CEST 2009
Author: alexc
Date: Thu May 21 19:20:51 2009
New Revision: 4282
Log:
Prevent a NULL pointer dereference.
Modified:
aacenc/psymodel.c
Modified: aacenc/psymodel.c
==============================================================================
--- aacenc/psymodel.c Wed May 20 20:56:05 2009 (r4281)
+++ aacenc/psymodel.c Thu May 21 19:20:51 2009 (r4282)
@@ -122,6 +122,7 @@ av_cold void ff_psy_preprocess_end(struc
{
int i;
ff_iir_filter_free_coeffs(ctx->fcoeffs);
+ if (ctx->fstate)
for(i = 0; i < ctx->avctx->channels; i++){
ff_iir_filter_free_state(ctx->fstate[i]);
}
More information about the FFmpeg-soc
mailing list