Re: [FFmpeg-user] abort and missing SIGABRT handling

2020-02-28 Thread Mircea Carausu via ffmpeg-user
Many thanks for all replies. It provides the background info I was looking for. Thank you, Mircea On Thu, Feb 27, 2020 at 11:17 AM tth wrote: > Le 27/02/2020 19:35:24, Nicolas George a écrit : > > Carl Eugen Hoyos (12020-02-27): > > > The abort() calls are not supposed to actually be hit. If

[FFmpeg-user] abort and missing SIGABRT handling

2020-02-27 Thread Mircea Carausu via ffmpeg-user
Hello, I noticed av_asser0 macro is extensively used in ffmpeg code... simple grep returns some 11xx hits. Inside this macro abort() call is used. Two questions in my mind: 1. why abort() and not exit() with a err code (i.e. EXIT_FAILURE) 2, if we trigger abort purposely, why not have a signal