summaryrefslogtreecommitdiffstats
path: root/libswscale/swscale_template.c
diff options
context:
space:
mode:
authorlucabe <lucabe@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-01-23 13:41:45 +0000
committerlucabe <lucabe@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-01-23 13:41:45 +0000
commitaaac7f6eaf2caf84db43e9a6f4e975554e69799a (patch)
tree347f4875ba0c508c110e1c7b3c14a17289e35411 /libswscale/swscale_template.c
parent93288a8c975f74b16cbcb8c705b0790737d9f15a (diff)
downloadmpv-aaac7f6eaf2caf84db43e9a6f4e975554e69799a.tar.bz2
mpv-aaac7f6eaf2caf84db43e9a6f4e975554e69799a.tar.xz
Pass a context to av_log(), when possible
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21999 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libswscale/swscale_template.c')
-rw-r--r--libswscale/swscale_template.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/swscale_template.c b/libswscale/swscale_template.c
index 21b99ca225..84daef5135 100644
--- a/libswscale/swscale_template.c
+++ b/libswscale/swscale_template.c
@@ -2972,7 +2972,7 @@ i--;
static int firstTime=1; //FIXME move this into the context perhaps
if(flags & SWS_PRINT_INFO && firstTime)
{
- MSG_WARN("SwScaler: Warning: dstStride is not aligned!\n"
+ av_log(c, AV_LOG_WARNING, "SwScaler: Warning: dstStride is not aligned!\n"
"SwScaler: ->cannot do aligned memory acesses anymore\n");
firstTime=0;
}