mirror of https://github.com/mpv-player/mpv
sd_lavc: fix typo
This commit is contained in:
parent
8e6704acdb
commit
689cf04571
|
@ -289,7 +289,7 @@ static void read_sub_bitmaps(struct sd *sd, struct sub *sub)
|
|||
b->bitmap = sub->data->planes[0] + pos.y * b->stride + pos.x * 4;
|
||||
|
||||
sub->src_w = FFMAX(sub->src_w, b->x + b->w);
|
||||
sub->src_h = FFMAX(sub->src_h, b->h + b->h);
|
||||
sub->src_h = FFMAX(sub->src_h, b->y + b->h);
|
||||
|
||||
assert(r->nb_colors > 0);
|
||||
assert(r->nb_colors <= 256);
|
||||
|
|
Loading…
Reference in New Issue