Author: superdump
Date: Tue Jul 29 22:53:49 2008
New Revision: 2906
Log:
Fix broken null extradata check. If there is no extradata -> return error. If
there is
extradata but audio_specific_config() returns an error -> return error.
Modified:
aac/aac.c
Modified: aac/aac.c
==============================================================================
--- aac/aac.c (original)
+++ aac/aac.c Tue Jul 29 22:53:49 2008
@@ -819,7 +819,7 @@ static av_cold int aac_decode_init(AVCod
ac->avccontext = avccontext;
- if (avccontext->extradata_size > 0 &&
+ if (avccontext->extradata_size <= 0 ||
audio_specific_config(ac, avccontext->extradata,
avccontext->extradata_size))
return -1;
_______________________________________________
FFmpeg-soc mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc