print AVCodecContext address instead of AVClass, better when multiple instances of same codecs are used, based on r14237

Originally committed as revision 14255 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Baptiste Coudurier 2008-07-16 03:21:23 +00:00
parent 38844c0b42
commit 59e7894c3d

View File

@ -348,7 +348,7 @@ static void http_av_log(void *ptr, int level, const char *fmt, va_list vargs)
if (level > av_log_level)
return;
if (print_prefix && avc)
http_log("[%s @ %p]", avc->item_name(ptr), avc);
http_log("[%s @ %p]", avc->item_name(ptr), ptr);
print_prefix = strstr(fmt, "\n") != NULL;
http_vlog(fmt, vargs);
}