1
0
mirror of https://git.ffmpeg.org/ffmpeg.git synced 2026-10-24 02:09:03 +03:00

avformat/hlsenc: use correct close function for custom io

This is open by s->io_open().

(cherry picked from commit 200cbaeb5a)

Signed-off-by: Kacper Michajłow <kasper93@gmail.com>
This commit is contained in:
Kacper Michajłow
2026-05-16 17:36:28 +02:00
parent 31bc453254
commit bbcb07a5fe

View File

@@ -777,7 +777,7 @@ static int do_encrypt(AVFormatContext *s, VariantStream *vs)
return ret;
avio_seek(pb, 0, SEEK_CUR);
avio_write(pb, key, KEYSIZE);
avio_close(pb);
ff_format_io_close(s, &pb);
}
return 0;
}