avcodec/mpegaudiodec_template: only allocate fdsp when its used
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 5 Dec 2014 03:27:49 +0000 (04:27 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 5 Dec 2014 03:27:49 +0000 (04:27 +0100)
commita7ebd0b011f9576c843a86bd6a1828ecaa6faf3a
tree0a5b8e2a71d61862af48aab3e0434a0395bf34d0
parent4a0b1d924564d7d99254f10fe69aeab5dbef9efa
avcodec/mpegaudiodec_template: only allocate fdsp when its used

Fixes memleak

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/mpegaudiodec_template.c