Moving silence_log_ffmpeg to imbuf (it fits better there and fixes the link error in blenderplayer)

This commit is contained in:
2008-11-03 13:33:11 +00:00
parent 858e2ec776
commit 6cc1466c61
3 changed files with 14 additions and 16 deletions

View File

@@ -34,7 +34,6 @@
#include <ffmpeg/rational.h>
#include <ffmpeg/swscale.h>
#include <ffmpeg/opt.h>
#include <ffmpeg/log.h>
#if LIBAVFORMAT_VERSION_INT < (49 << 16)
#define FFMPEG_OLD_FRAME_RATE 1
@@ -105,18 +104,6 @@ static RenderData *ffmpeg_renderdata = 0;
#define FFMPEG_AUTOSPLIT_SIZE 2000000000
void silence_log_ffmpeg(int quiet)
{
if (quiet)
{
av_log_set_level(AV_LOG_QUIET);
}
else
{
av_log_set_level(AV_LOG_INFO);
}
}
/* Delete a picture buffer */
static void delete_picture(AVFrame* f)