diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2019-12-16 01:04:05 +0100 |
---|---|---|
committer | Steven Liu <lq@chinaffmpeg.org> | 2019-12-23 14:05:33 +0800 |
commit | ae84305036ceced3813fb295b71d51343ffd9535 (patch) | |
tree | 7b5ae8637a28cec94e3f043150da208746fff0c2 /tests/simple2.ffconcat | |
parent | 728c44b8613fdd2f75391b6575df4e9d47c24c63 (diff) | |
download | ffmpeg-ae84305036ceced3813fb295b71d51343ffd9535.tar.gz |
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 <andreas.rheinhardt@gmail.com>
Reviewed-by: Steven Liu <lq@onvideo.cn>
Diffstat (limited to 'tests/simple2.ffconcat')
0 files changed, 0 insertions, 0 deletions