You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-06-14 08:44:40 +02: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:
committed by
Timo Rothenpieler
parent
a9c4fdd329
commit
a3dcc6e2ce
@@ -810,7 +810,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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user