Mercurial > libavcodec.hg
changeset 6974:ccb0813842ea libavcodec
add context_to_name func for logging
author | bcoudurier |
---|---|
date | Sun, 01 Jun 2008 20:51:44 +0000 |
parents | 7f7de664020f |
children | 230d2edc5502 |
files | imgresample.c |
diffstat | 1 files changed, 6 insertions(+), 1 deletions(-) [+] |
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,