1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

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

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;