mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-01-06 22:25:36 +01:00
fftools/ffmpeg: stop calling exit_program()
Remove exit_program() and register_exit(), as they are no longer used.
This commit is contained in:
@@ -1324,8 +1324,6 @@ int main(int argc, char **argv)
|
||||
|
||||
init_dynload();
|
||||
|
||||
register_exit(ffmpeg_cleanup);
|
||||
|
||||
setvbuf(stderr,NULL,_IONBF,0); /* win32 runtime needs this */
|
||||
|
||||
av_log_set_flags(AV_LOG_SKIP_REPEATED);
|
||||
@@ -1376,6 +1374,6 @@ finish:
|
||||
if (ret == AVERROR_EXIT)
|
||||
ret = 0;
|
||||
|
||||
exit_program(ret);
|
||||
ffmpeg_cleanup(ret);
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user