Files
FFmpeg/libavformat
Kacper Michajłow 36da931d7c avformat/demux: use io_close2 when closing avfromat
It's not valid to call avio_close() on context that has not been open
with avio_open().

This fixes use of custom IO. (io_open / io_close2 callbacks)

Note that by default io_close2 is set to io_close2_default() which calls
avio_close(), so default case will work the same as before.

Signed-off-by: Kacper Michajłow <kasper93@gmail.com>
Reviewed-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 1a7e802c8f)
2026-07-16 11:15:34 +00:00
..
2023-05-31 09:03:58 -07:00
2023-06-20 12:47:00 +02:00
2023-10-02 01:28:14 +02:00
2023-01-27 19:45:36 +01:00
2023-09-17 11:17:55 +02:00
2022-09-23 20:27:35 +02:00
2025-06-11 12:15:37 +02:00
2025-06-11 12:15:41 +02:00
2022-10-24 02:00:31 +02:00
2023-08-11 23:55:05 +02:00
2023-07-19 19:33:20 -04:00
2023-08-02 17:31:13 +02:00
2023-01-25 18:49:09 +01:00
2023-02-18 09:56:40 +01:00
2025-12-03 20:27:24 +01:00
2026-06-20 17:42:28 +02:00
2025-06-11 12:15:52 +02:00
2023-06-27 12:52:38 -03:00
2025-12-03 20:27:24 +01:00
2026-06-14 19:38:55 +02:00
2025-12-03 20:27:24 +01:00
2023-05-20 13:06:38 +02:00
2023-09-22 08:52:18 +02:00
2025-12-03 20:27:24 +01:00
2024-07-24 16:52:53 +02:00
2026-05-04 17:13:20 +02:00
2023-05-31 09:03:58 -07:00
2024-05-25 00:31:10 +02:00
2023-09-17 11:17:55 +02:00
2024-07-24 16:52:54 +02:00
2024-07-24 16:52:55 +02:00
2023-09-28 19:37:58 +02:00
2023-09-01 14:26:47 +02:00
2026-05-04 17:13:40 +02:00
2023-04-20 16:11:18 +02:00
2023-09-07 00:42:10 +02:00
2023-06-29 14:12:50 -03:00
2025-12-03 20:27:24 +01:00
2023-07-22 16:18:39 +02:00
2026-05-04 17:13:16 +02:00
2023-02-11 11:30:46 +01:00
2024-07-24 16:52:16 +02:00
2024-07-24 16:52:56 +02:00
2023-08-15 21:42:21 +02:00
2023-01-13 11:22:59 -06:00
2023-04-02 10:18:56 +05:30
2023-10-15 18:54:37 +02:00
2023-10-08 21:36:04 +02:00
2024-07-24 16:52:56 +02:00
2026-06-14 19:38:52 +02:00
2024-07-24 16:52:36 +02:00
2023-01-30 21:02:48 +01:00
2024-07-24 16:52:57 +02:00