You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avcodec/ac3dec: use av_freep() for saftey
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -1609,7 +1609,7 @@ static av_cold int ac3_decode_end(AVCodecContext *avctx)
|
|||||||
ff_mdct_end(&s->imdct_512);
|
ff_mdct_end(&s->imdct_512);
|
||||||
ff_mdct_end(&s->imdct_256);
|
ff_mdct_end(&s->imdct_256);
|
||||||
#if (USE_FIXED)
|
#if (USE_FIXED)
|
||||||
av_free(s->fdsp);
|
av_freep(&s->fdsp);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
Reference in New Issue
Block a user