Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-04-30 01:45:22 +0400
committerMichael Niedermayer <michaelni@gmx.at>2014-04-30 01:45:22 +0400
commited72dae4cf80a3087f6ca050bc34facd1be3f98f (patch)
tree03b80f12242b02760004f4d6b8365e085f77bec8 /ffmpeg.c
parent2eddf3a6efd80aa6e9d7f42ad9a892a82c5ece70 (diff)
ffmpeg: dont print "Conversion failed" if conversion has never started
Found-by: jamrial Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg.c')
-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();