[FFmpeg-devel] [RFC] Advanced Error Codes

Nicolas George george at nsup.org
Tue Jul 29 01:04:56 EEST 2025


Sorry, forgot a bit:

> The first group:
> 
> - do not get a context;
> 
> - perform a rather simple task;

- have a perimeter small enough that an error code is enough for the
  caller to know what went wrong;

> 
> - could be called in tight loops, even when they fail repeatedly, and
>   therefore should not waste time fiddling with strings;
> 
> - do not have enough information to design a useful error message
>   anyway.
> 
> The second group, is all the opposite. I do not think there is much in
> between.

Regards,

-- 
  Nicolas George


More information about the ffmpeg-devel mailing list