summaryrefslogtreecommitdiff
path: root/libswscale/swscale_template.c
diff options
context:
space:
mode:
authorLuca Abeni <lucabe72@email.it>2007-01-23 13:41:45 +0000
committerLuca Abeni <lucabe72@email.it>2007-01-23 13:41:45 +0000
commit2d529db50f735b3aaaf673b905c10f6e8ef36db1 (patch)
treefaf7a2d713f057d4a9354679505aeae5e2e3eb7e /libswscale/swscale_template.c
parent6f9ca74becb3ee09b8ff9823578c663d96c00272 (diff)
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/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;
}