Commit f1b756ef authored by James Almer's avatar James Almer

lib: disable logging in dav1d_parse_sequence_header()

The function uses a Dav1dContext internally, so the caller can't disable
logging or use a custom logger. Play it safe and disable logging altogether
to avoid spamming stderr.
parent 532b3a67
Pipeline #4219 passed with stages
in 5 minutes and 42 seconds
......@@ -196,6 +196,7 @@ int dav1d_parse_sequence_header(Dav1dSequenceHeader *const out,
Dav1dSettings s;
dav1d_default_settings(&s);
s.logger.callback = NULL;
Dav1dContext *c;
res = dav1d_open(&c, &s);
......
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