mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-25 00:32:31 +00:00
vf_drawtext: apply misc style fixes
This commit is contained in:
parent
80daa247d8
commit
9921613e82
@ -487,11 +487,11 @@ static int command(AVFilterContext *ctx, const char *cmd, const char *arg, char
|
||||
{
|
||||
DrawTextContext *dtext = ctx->priv;
|
||||
|
||||
if(!strcmp(cmd, "reinit")){
|
||||
if (!strcmp(cmd, "reinit")) {
|
||||
int ret;
|
||||
uninit(ctx);
|
||||
dtext->reinit = 1;
|
||||
if((ret=init(ctx, arg, NULL)) < 0)
|
||||
if ((ret = init(ctx, arg, NULL)) < 0)
|
||||
return ret;
|
||||
return config_input(ctx->inputs[0]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user