[FFmpeg-cvslog] r13610 - trunk/libavcodec/imgresample.c
bcoudurier
subversion
Sun Jun 1 22:51:44 CEST 2008
Author: bcoudurier
Date: Sun Jun 1 22:51:44 2008
New Revision: 13610
Log:
add context_to_name func for logging
Modified:
trunk/libavcodec/imgresample.c
Modified: trunk/libavcodec/imgresample.c
==============================================================================
--- trunk/libavcodec/imgresample.c (original)
+++ trunk/libavcodec/imgresample.c Sun Jun 1 22:51:44 2008
@@ -512,7 +512,12 @@ void img_resample_close(ImgReSampleConte
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,
More information about the ffmpeg-cvslog
mailing list