[FFmpeg-devel] [PATCH v2 4/5] avformat: introduce AVFormatContext io_close2 which returns an int

Hendrik Leppkes h.leppkes at gmail.com
Sat Dec 4 22:04:45 EET 2021


On Sat, Dec 4, 2021 at 9:00 PM Marton Balint <cus at passwd.hu> wrote:
>
> Otherwise there is no way to detect any error during avio_close().
>

Returning errors is nice and all, but whats the expected reaction to
an error here, since we're already trying to close? Can't exactly
close and go home (since thats what you just tried) like you would on
an error to open.

- Hendrik


More information about the ffmpeg-devel mailing list