mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +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:
parent
b5f0cea16c
commit
f8f86f8356
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user