1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-28 20:53:54 +02:00

fftools/ffmpeg: drop a useless goto

There is no cleanup in transcode(), can return an error directly.
This commit is contained in:
Anton Khirnov 2023-03-28 09:31:56 +02:00
parent 5d4f467cc9
commit f2c8dff906

View File

@ -2905,7 +2905,7 @@ static int transcode(void)
ret = transcode_init();
if (ret < 0)
goto fail;
return ret;
if (stdin_interaction) {
av_log(NULL, AV_LOG_INFO, "Press [q] to stop, [?] for help\n");
@ -2975,11 +2975,7 @@ static int transcode(void)
hw_device_free_all();
/* finished ! */
ret = 0;
fail:
return ret;
return 0;
}
static BenchmarkTimeStamps get_benchmark_time_stamps(void)