libeplayer3/container_ffmpeg: only log ffmpeg errors at debug_level > 10

This commit is contained in:
martii
2013-12-17 15:39:11 +01:00
parent 4a4bb1e06f
commit 2258a2fd3a

View File

@@ -821,6 +821,7 @@ static int interrupt_cb(void *ctx)
static void log_callback(void *ptr __attribute__ ((unused)), int lvl __attribute__ ((unused)), const char *format, va_list ap)
{
if (debug_level > 10)
vfprintf(stderr, format, ap);
}