Mercurial > libavcodec.hg
diff imgresample.c @ 6974:ccb0813842ea libavcodec
add context_to_name func for logging
author | bcoudurier |
---|---|
date | Sun, 01 Jun 2008 20:51:44 +0000 |
parents | c4e281443310 |
children | 4525dcd81357 |
line wrap: on
line diff
--- a/imgresample.c Sun Jun 01 19:51:33 2008 +0000 +++ b/imgresample.c Sun Jun 01 20:51:44 2008 +0000 @@ -512,7 +512,12 @@ av_free(s); } -static const AVClass context_class = { "imgresample", NULL, NULL }; +static const char *context_to_name(void* ptr) +{ + return "imgconvert"; +} + +static const AVClass context_class = { "imgresample", context_to_name, NULL }; struct SwsContext *sws_getContext(int srcW, int srcH, int srcFormat, int dstW, int dstH, int dstFormat,