mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-02-04 14:30:55 +08:00
lavc/cbs: Make error message more descriptive
This commit is contained in:
committed by
Mark Thompson
parent
c75439a93b
commit
e9a6b75373
@@ -231,7 +231,8 @@ static int cbs_read_fragment_content(CodedBitstreamContext *ctx,
|
||||
unit->content = NULL;
|
||||
} else if (err < 0) {
|
||||
av_log(ctx->log_ctx, AV_LOG_ERROR, "Failed to read unit %d "
|
||||
"(type %"PRIu32").\n", i, unit->type);
|
||||
"(type %"PRIu32"): %s.\n",
|
||||
i, unit->type, av_err2str(err));
|
||||
return err;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user