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

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Bœsch <clement.boesch@smartjog.com>2011-06-15 13:24:00 +0400
committerMichael Niedermayer <michaelni@gmx.at>2011-06-21 23:41:28 +0400
commit4a34e54b0ecf342903d5ed112540fa832b62a514 (patch)
treef57fb9bbc7a0562ff6e748073b7ac13809d86940
parent5f654897e325349dacf2546674e0510bb72ecb50 (diff)
Fix zero-length gnu_printf format string warning.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--ffmpeg.c2
-rw-r--r--ffplay.c2
-rw-r--r--libavutil/log.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 397c715b23..80a67c180e 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -444,7 +444,7 @@ static int configure_video_filters(AVInputStream *ist, AVOutputStream *ost)
static void term_exit(void)
{
- av_log(NULL, AV_LOG_QUIET, "");
+ av_log(NULL, AV_LOG_QUIET, "%s", "");
#if HAVE_TERMIOS_H
if(!run_as_daemon)
tcsetattr (0, TCSANOW, &oldtty);
diff --git a/ffplay.c b/ffplay.c
index 81bde26ee7..81b1fcead4 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -904,7 +904,7 @@ static void do_exit(void)
if (show_status)
printf("\n");
SDL_Quit();
- av_log(NULL, AV_LOG_QUIET, "");
+ av_log(NULL, AV_LOG_QUIET, "%s", "");
exit(0);
}
diff --git a/libavutil/log.h b/libavutil/log.h
index 149225dadf..53c8aa0f67 100644
--- a/libavutil/log.h
+++ b/libavutil/log.h
@@ -159,7 +159,7 @@ const char* av_default_item_name(void* ctx);
* "Last message repeated x times" messages below (f)printf messages with some
* bad luck.
* Also to receive the last, "last repeated" line if any, the user app must
- * call av_log(NULL, AV_LOG_QUIET, ""); at the end
+ * call av_log(NULL, AV_LOG_QUIET, "%s", ""); at the end
*/
#define AV_LOG_SKIP_REPEATED 1
void av_log_set_flags(int arg);