Commit 778346e3 authored by Baptiste Coudurier's avatar Baptiste Coudurier

add context_to_name func for logging

Originally committed as revision 13610 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 2d73e6c8
......@@ -512,7 +512,12 @@ void img_resample_close(ImgReSampleContext *s)
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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment