avcodec/ass: remove the unneeded ()

Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Limin Wang 2019-12-26 09:31:03 +08:00 committed by Michael Niedermayer
parent b5f0cea16c
commit f8f86f8356
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ int ff_ass_add_rect(AVSubtitle *sub, const char *dialog,
char *ass_str;
AVSubtitleRect **rects;
rects = av_realloc_array(sub->rects, (sub->num_rects+1), sizeof(*sub->rects));
rects = av_realloc_array(sub->rects, sub->num_rects+1, sizeof(*sub->rects));
if (!rects)
return AVERROR(ENOMEM);
sub->rects = rects;