summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libavformat/gxfenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/gxfenc.c b/libavformat/gxfenc.c
index 2293762..033e6c6 100644
--- a/libavformat/gxfenc.c
+++ b/libavformat/gxfenc.c
@@ -645,7 +645,7 @@ static int gxf_write_header(AVFormatContext *s)
}
break;
default:
- av_log(NULL, AV_LOG_ERROR, "video codec not supported\n");
+ av_log(s, AV_LOG_ERROR, "video codec not supported\n");
return -1;
}
}
OpenPOWER on IntegriCloud