Browse Source

add context_to_name func for logging

Originally committed as revision 13610 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Baptiste Coudurier 17 years ago
parent
commit
778346e3da
1 changed files with 6 additions and 1 deletions
  1. +6
    -1
      libavcodec/imgresample.c

+ 6
- 1
libavcodec/imgresample.c View File

@@ -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,


Loading…
Cancel
Save