aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-04-29 23:45:22 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-04-29 23:45:22 +0200
commited72dae4cf80a3087f6ca050bc34facd1be3f98f (patch)
tree03b80f12242b02760004f4d6b8365e085f77bec8
parent2eddf3a6efd80aa6e9d7f42ad9a892a82c5ece70 (diff)
downloadffmpeg-ed72dae4cf80a3087f6ca050bc34facd1be3f98f.tar.gz
ffmpeg: dont print "Conversion failed" if conversion has never started
Found-by: jamrial Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--ffmpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 6f909555f9..e7b42906a4 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -517,7 +517,7 @@ static void ffmpeg_cleanup(int ret)
if (received_sigterm) {
av_log(NULL, AV_LOG_INFO, "Received signal %d: terminating.\n",
(int) received_sigterm);
- } else if (ret) {
+ } else if (ret && transcode_init_done) {
av_log(NULL, AV_LOG_INFO, "Conversion failed!\n");
}
term_exit();