Commit 59e7894c authored by Baptiste Coudurier's avatar Baptiste Coudurier

print AVCodecContext address instead of AVClass, better when multiple...

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
parent 38844c0b
...@@ -348,7 +348,7 @@ static void http_av_log(void *ptr, int level, const char *fmt, va_list vargs) ...@@ -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);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment