Commit 4a34e54b authored by Clément Bœsch's avatar Clément Bœsch Committed by Michael Niedermayer

Fix zero-length gnu_printf format string warning.

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 5f654897
...@@ -444,7 +444,7 @@ static int configure_video_filters(AVInputStream *ist, AVOutputStream *ost) ...@@ -444,7 +444,7 @@ static int configure_video_filters(AVInputStream *ist, AVOutputStream *ost)
static void term_exit(void) static void term_exit(void)
{ {
av_log(NULL, AV_LOG_QUIET, ""); av_log(NULL, AV_LOG_QUIET, "%s", "");
#if HAVE_TERMIOS_H #if HAVE_TERMIOS_H
if(!run_as_daemon) if(!run_as_daemon)
tcsetattr (0, TCSANOW, &oldtty); tcsetattr (0, TCSANOW, &oldtty);
......
...@@ -904,7 +904,7 @@ static void do_exit(void) ...@@ -904,7 +904,7 @@ static void do_exit(void)
if (show_status) if (show_status)
printf("\n"); printf("\n");
SDL_Quit(); SDL_Quit();
av_log(NULL, AV_LOG_QUIET, ""); av_log(NULL, AV_LOG_QUIET, "%s", "");
exit(0); exit(0);
} }
......
...@@ -159,7 +159,7 @@ const char* av_default_item_name(void* ctx); ...@@ -159,7 +159,7 @@ const char* av_default_item_name(void* ctx);
* "Last message repeated x times" messages below (f)printf messages with some * "Last message repeated x times" messages below (f)printf messages with some
* bad luck. * bad luck.
* Also to receive the last, "last repeated" line if any, the user app must * 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 #define AV_LOG_SKIP_REPEATED 1
void av_log_set_flags(int arg); void av_log_set_flags(int arg);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment