aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/gopher.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2011-04-20 11:40:29 +0200
committerMartin Storsjö <martin@martin.st>2011-04-20 14:59:45 +0300
commitc60112f26873afafb55d24cc50a0e93ad9411373 (patch)
tree62d01be1c17198fe7593818536d1138821fc7ffd /libavformat/gopher.c
parent8408e1d7d69aad57e633c27a6bcd522a15fa3702 (diff)
downloadffmpeg-c60112f26873afafb55d24cc50a0e93ad9411373.tar.gz
libavformat: Make protocols pass URLContext as log context where available
Since the libavformat major bump, URLContext contains an AVClass, making it a usable log context. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/gopher.c')
-rw-r--r--libavformat/gopher.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/gopher.c b/libavformat/gopher.c
index 1d38cd232f..79d1feba6b 100644
--- a/libavformat/gopher.c
+++ b/libavformat/gopher.c
@@ -50,7 +50,7 @@ static int gopher_connect(URLContext *h, const char *path)
if (!path) return AVERROR(EINVAL);
break;
default:
- av_log(NULL, AV_LOG_WARNING,
+ av_log(h, AV_LOG_WARNING,
"Gopher protocol type '%c' not supported yet!\n",
*path);
return AVERROR(EINVAL);