diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-06-01 20:51:44 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-06-01 20:51:44 +0000 |
commit | 778346e3da0928b7b2aafabd1a13f4b0d9edffdb (patch) | |
tree | 4b3811122e3946de3ccf0bdceb3360814a3e8cfe /libavcodec | |
parent | 2d73e6c8d7fe460877760ee295fcbe1f64a308b8 (diff) | |
download | ffmpeg-778346e3da0928b7b2aafabd1a13f4b0d9edffdb.tar.gz |
add context_to_name func for logging
Originally committed as revision 13610 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/imgresample.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libavcodec/imgresample.c b/libavcodec/imgresample.c index d2c5364b45..8da1b4d315 100644 --- a/libavcodec/imgresample.c +++ b/libavcodec/imgresample.c @@ -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, |