[FFmpeg-devel] [PATCH] Adding av_abort() : adding custom handlers for abort().

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Wed Jul 27 19:57:12 EEST 2022


Julien Vary:
> 
>> abort() should generally not be in a reachable part of the code - not inside any of the libraries anyway, ffmpeg.c is a different topic.
>> If it is reachable with any input files, and not just present to shut up compilers, this is a bug and should be addressed to return an error instead.
>>
>> Therefore, we should address those cases, and just leave abort as-is otherwise. Nevermind that av_abort would need to be a public function, which sounds like a really bad idea.
>>
>> - Hendrik
> 
> Historically, we had issues with the abort() within libavcodec/vlc.c  alloc_table(), but possibly those are now fixed.
> 

Did you ever open tickets for these issues?

- Andreas


More information about the ffmpeg-devel mailing list