mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
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>
This commit is contained in:
parent
c322f19855
commit
0efcf16a3e
16 changed files with 22 additions and 22 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue