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:
parent
38844c0b42
commit
59e7894c3d
@ -348,7 +348,7 @@ static void http_av_log(void *ptr, int level, const char *fmt, va_list vargs)
|
|||||||
if (level > av_log_level)
|
if (level > av_log_level)
|
||||||
return;
|
return;
|
||||||
if (print_prefix && avc)
|
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;
|
print_prefix = strstr(fmt, "\n") != NULL;
|
||||||
http_vlog(fmt, vargs);
|
http_vlog(fmt, vargs);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user