> Am 27.02.2020 um 09:35 schrieb Mircea Carausu via ffmpeg-user > <ffmpeg-user@ffmpeg.org>: > > 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 handler for it and > do proper flushing cleanup upon exception detection? Seems SIGABRT (a POSIX > signal) does not currently have any handler in ffmpeg.
The abort() calls are not supposed to actually be hit. If you want to catch them in your code using the libraries, you should do so. Carl Eugen _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".