diff options
author | Diego Biurrun <diego@biurrun.de> | 2011-04-27 15:11:41 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2011-04-27 19:48:58 +0200 |
commit | 3fd3632ffeb18aeca6c0ab3fbe1034c3da75d983 (patch) | |
tree | 1c63c85961faa0e14542a92cbd0100b7ed0797c5 /libavcodec/utils.c | |
parent | 8745e9c45865a4409272d78db1e1af86a8b955e9 (diff) | |
download | ffmpeg-streaming-3fd3632ffeb18aeca6c0ab3fbe1034c3da75d983.zip ffmpeg-streaming-3fd3632ffeb18aeca6c0ab3fbe1034c3da75d983.tar.gz |
Simplify av_log_missing_feature().
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.
Diffstat (limited to 'libavcodec/utils.c')
-rw-r--r-- | libavcodec/utils.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c index 6844188..6c10dd3 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -1154,11 +1154,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, ...) |