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 #4373 passed with stages
in 11 minutes and 36 seconds
......@@ -196,6 +196,7 @@ int dav1d_parse_sequence_header(Dav1dSequenceHeader *const out,
Dav1dSettings 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