From: Diego Biurrun <[email protected]>

Do not print the results of the conditional call to av_log_ask_for_sample()
into the same line as the main output, separate the already long text.
---
 libavcodec/utils.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index 7e2847a..cbce7b5 100644
--- a/libavcodec/utils.c
+++ b/libavcodec/utils.c
@@ -1119,11 +1119,9 @@ void av_log_missing_feature(void *avc, const char 
*feature, int want_sample)
     av_log(avc, AV_LOG_WARNING, "%s not implemented. Update your Libav "
             "version to the newest one from Git. If the problem still "
             "occurs, it means that your file has a feature which has not "
-            "been implemented.", feature);
+            "been implemented.\n", feature);
     if(want_sample)
         av_log_ask_for_sample(avc, NULL);
-    else
-        av_log(avc, AV_LOG_WARNING, "\n");
 }
 
 void av_log_ask_for_sample(void *avc, const char *msg, ...)
-- 
1.7.1

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to