aboutsummaryrefslogtreecommitdiffstats
path: root/ffmpeg_opt.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-11-23 18:10:02 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-11-23 18:10:02 +0100
commit0efcf16a3e6ea19abf65e86ef6116dc88892a670 (patch)
tree02fa96255bc4b6f57fa3c890938cba1df0b0d421 /ffmpeg_opt.c
parentc322f19855df10f9ceaf3f15a3c0d9d3b78c7279 (diff)
downloadffmpeg-0efcf16a3e6ea19abf65e86ef6116dc88892a670.tar.gz
replace av_log(0, by av_log(NULL,
The first parameter is a pointer and NULL is more correct Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg_opt.c')
-rw-r--r--ffmpeg_opt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffmpeg_opt.c b/ffmpeg_opt.c
index 0baa3b17f7..09b4aaf361 100644
--- a/ffmpeg_opt.c
+++ b/ffmpeg_opt.c
@@ -2251,7 +2251,7 @@ static int opt_progress(void *optctx, const char *opt, const char *arg)
arg = "pipe:";
ret = avio_open2(&avio, arg, AVIO_FLAG_WRITE, &int_cb, NULL);
if (ret < 0) {
- av_log(0, AV_LOG_ERROR, "Failed to open progress URL \"%s\": %s\n",
+ av_log(NULL, AV_LOG_ERROR, "Failed to open progress URL \"%s\": %s\n",
arg, av_err2str(ret));
return ret;
}