bpo-41369: Finish updating the vendored libmpdec to version 2.5.1 (GH-24962)

Complete the update to libmpdec-2.5.1.

Co-authored-by: Stefan Krah <skrah@bytereef.org>
This commit is contained in:
Antoine Pitrou 2021-03-30 18:11:06 +02:00 committed by GitHub
parent a7ff6df60c
commit 73b20ae2fb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
26 changed files with 1966 additions and 113 deletions

View file

@ -235,12 +235,12 @@ mpd_qsetround(mpd_context_t *ctx, int round)
}
int
mpd_qsettraps(mpd_context_t *ctx, uint32_t traps)
mpd_qsettraps(mpd_context_t *ctx, uint32_t flags)
{
if (traps > MPD_Max_status) {
if (flags > MPD_Max_status) {
return 0;
}
ctx->traps = traps;
ctx->traps = flags;
return 1;
}