# HG changeset patch # User bcoudurier # Date 1212353504 0 # Node ID ccb0813842ea2e8905a9df5192bd816184be0abc # Parent 7f7de664020fa797bb0f09e11a2df183f4eb4e89 add context_to_name func for logging diff -r 7f7de664020f -r ccb0813842ea imgresample.c --- 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,