You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avformat/hlsenc: Don't reset AVIOContext pointer manually a second time
ff_format_io_close() already does it for us. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
This commit is contained in:
@@ -2497,7 +2497,6 @@ static int hls_write_packet(AVFormatContext *s, AVPacket *pkt)
|
||||
if ((ret = hls_window(s, 0, vs)) < 0) {
|
||||
av_log(s, AV_LOG_WARNING, "upload playlist failed, will retry with a new http session.\n");
|
||||
ff_format_io_close(s, &vs->out);
|
||||
vs->out = NULL;
|
||||
if ((ret = hls_window(s, 0, vs)) < 0) {
|
||||
av_freep(&old_filename);
|
||||
return ret;
|
||||
|
Reference in New Issue
Block a user