[FFmpeg-devel] STF Idea: Check I/O calls in avformat (robustness)
Michael Niedermayer
michael at niedermayer.cc
Tue Jun 3 15:05:09 EEST 2025
Hi Derek
On Mon, Jun 02, 2025 at 06:08:17PM +0100, Derek Buitenhuis wrote:
> Hi,
>
> Dropping this grenade in here then unsubscribing.
>
> I see a lot of discussion on FEC, protocols, etc. for STF.
>
> But having those is almost pointless given avformat doesn't even check
> read and write calls in most places (even ignoring ensured seekbacks,
> buffer, etc.).
>
> A quick grep shows ~462 unchecked avio_r*, for example.
>
> What this means is that avformat itself is basically ununsuable in
> anything but perfect network conditions.
>
> Given STF is supposed to be used for useful stability and maitenence
> work, I propose a project to properly check I/O in avformat, so that
> any hiccup doesn't explode everything in unexpected ways.
>
> This exactly the sort of slog (boring, tedious, but extremely useful)
> that requires someone being paid to do to get done.
I think this is a great idea
thx
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Modern terrorism, a quick summary: Need oil, start war with country that
has oil, kill hundread thousand in war. Let country fall into chaos,
be surprised about raise of fundamantalists. Drop more bombs, kill more
people, be surprised about them taking revenge and drop even more bombs
and strip your own citizens of their rights and freedoms. to be continued
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20250603/2b2febeb/attachment.sig>
More information about the ffmpeg-devel
mailing list