mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
msg: convert defines to enum
Also get rid of MSGL_HINT and the many MSGL_DBG* levels.
This commit is contained in:
@@ -698,7 +698,7 @@ int ebml_read_element(struct stream *s, struct ebml_parse_ctx *ctx,
|
||||
void *target, const struct ebml_elem_desc *desc)
|
||||
{
|
||||
ctx->has_errors = false;
|
||||
int msglevel = ctx->no_error_messages ? MSGL_DBG2 : MSGL_WARN;
|
||||
int msglevel = ctx->no_error_messages ? MSGL_DEBUG : MSGL_WARN;
|
||||
uint64_t length = ebml_read_length(s, &ctx->bytes_read);
|
||||
if (s->eof) {
|
||||
MP_MSG(ctx, msglevel, "Unexpected end of file "
|
||||
|
||||
Reference in New Issue
Block a user