dnpds40: media codes for this model are in decimal, not hex.

This commit is contained in:
Solomon Peachy 2024-01-20 18:31:53 -05:00
parent 12a3206847
commit e0ec2898a6
1 changed files with 1 additions and 1 deletions

View File

@ -1752,7 +1752,7 @@ static int dnpds40_attach(void *vctx, struct dyesub_connection *conn, uint8_t jo
}
if (getenv("MEDIA_CODE"))
ctx->media = strtol(getenv("MEDIA_CODE"), NULL, 16);
ctx->media = strtol(getenv("MEDIA_CODE"), NULL, 10);
}
ctx->last_matte = -1;