diff options
author | Andreas Rheinhardt <[email protected]> | 2019-12-16 01:04:05 +0100 |
---|---|---|
committer | Steven Liu <[email protected]> | 2019-12-23 14:05:33 +0800 |
commit | ae84305036ceced3813fb295b71d51343ffd9535 (patch) | |
tree | 7b5ae8637a28cec94e3f043150da208746fff0c2 /libavcodec/arm/fft_init_arm.c | |
parent | 728c44b8613fdd2f75391b6575df4e9d47c24c63 (diff) |
avformat/hlsenc: Only allocate when data is known to be needed
hls_init() would allocate a buffer, although it is only needed in one of
two branches that follow. This commit moves the allocation to the branch
that actually needs the buffer.
Signed-off-by: Andreas Rheinhardt <[email protected]>
Reviewed-by: Steven Liu <[email protected]>
Diffstat (limited to 'libavcodec/arm/fft_init_arm.c')
0 files changed, 0 insertions, 0 deletions