Re: [FFmpeg-devel] [PATCH 1/2] avformat/demux: use io_close2 when closing avfromat

2025-05-30 Thread Michael Niedermayer
On Fri, May 30, 2025 at 10:48:29PM +0200, Andreas Rheinhardt wrote: > Michael Niedermayer: > > On Sat, May 17, 2025 at 03:03:19PM +0200, Andreas Rheinhardt wrote: > >> Andreas Rheinhardt: > >>> Kacper Michajłow: > It's not valid to call avio_close() on context that has not been open > wit

Re: [FFmpeg-devel] [PATCH 1/2] avformat/demux: use io_close2 when closing avfromat

2025-05-30 Thread Andreas Rheinhardt
Michael Niedermayer: > On Sat, May 17, 2025 at 03:03:19PM +0200, Andreas Rheinhardt wrote: >> Andreas Rheinhardt: >>> Kacper Michajłow: 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 callb

Re: [FFmpeg-devel] [PATCH 1/2] avformat/demux: use io_close2 when closing avfromat

2025-05-30 Thread Michael Niedermayer
On Sat, May 17, 2025 at 03:03:19PM +0200, Andreas Rheinhardt wrote: > Andreas Rheinhardt: > > Kacper Michajłow: > >> 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 tha

Re: [FFmpeg-devel] [PATCH 1/2] avformat/demux: use io_close2 when closing avfromat

2025-05-17 Thread Kacper Michajlow
On Sat, 17 May 2025 at 15:03, Andreas Rheinhardt wrote: > > Andreas Rheinhardt: > > Kacper Michajłow: > >> 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 defa

Re: [FFmpeg-devel] [PATCH 1/2] avformat/demux: use io_close2 when closing avfromat

2025-05-17 Thread Andreas Rheinhardt
Andreas Rheinhardt: > Kacper Michajłow: >> 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

Re: [FFmpeg-devel] [PATCH 1/2] avformat/demux: use io_close2 when closing avfromat

2025-05-17 Thread Andreas Rheinhardt
Kacper Michajłow: > 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

[FFmpeg-devel] [PATCH 1/2] avformat/demux: use io_close2 when closing avfromat

2025-05-16 Thread Kacper Michajłow
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: