diff options
author | Luca Abeni <lucabe72@email.it> | 2007-01-23 13:41:45 +0000 |
---|---|---|
committer | Luca Abeni <lucabe72@email.it> | 2007-01-23 13:41:45 +0000 |
commit | 2d529db50f735b3aaaf673b905c10f6e8ef36db1 (patch) | |
tree | faf7a2d713f057d4a9354679505aeae5e2e3eb7e /libswscale/yuv2rgb.c | |
parent | 6f9ca74becb3ee09b8ff9823578c663d96c00272 (diff) | |
download | ffmpeg-2d529db50f735b3aaaf673b905c10f6e8ef36db1.tar.gz |
Pass a context to av_log(), when possible
Originally committed as revision 21999 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale/yuv2rgb.c')
-rw-r--r-- | libswscale/yuv2rgb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libswscale/yuv2rgb.c b/libswscale/yuv2rgb.c index 54bb34a8f4..3e81866498 100644 --- a/libswscale/yuv2rgb.c +++ b/libswscale/yuv2rgb.c @@ -611,7 +611,7 @@ SwsFunc yuv2rgb_get_func_ptr (SwsContext *c) } #endif - MSG_WARN("No accelerated colorspace conversion found\n"); + av_log(c, AV_LOG_WARNING, "No accelerated colorspace conversion found\n"); switch(c->dstFormat){ case PIX_FMT_BGR32: @@ -828,7 +828,7 @@ int yuv2rgb_c_init_tables (SwsContext *c, const int inv_table[4], int fullRange, default: table_start= NULL; - MSG_ERR("%ibpp not supported by yuv2rgb\n", bpp); + av_log(c, AV_LOG_ERROR, "%ibpp not supported by yuv2rgb\n", bpp); //free mem? return -1; } |