You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-04 22:03:09 +02:00
fftools/textformat: do not return early
This would make the goto dead code and also would not properly call avtext_context_close. Fix CID 1646939 Reviewed-by: softworkz <softworkz@hotmail.com>
This commit is contained in:
@ -222,7 +222,6 @@ int avtext_context_open(AVTextFormatContext **ptctx, const AVTextFormatter *form
|
|||||||
av_log(tctx, AV_LOG_ERROR,
|
av_log(tctx, AV_LOG_ERROR,
|
||||||
"Invalid UTF8 sequence %s found in string validation replace '%s'\n",
|
"Invalid UTF8 sequence %s found in string validation replace '%s'\n",
|
||||||
bp.str, tctx->string_validation_replacement);
|
bp.str, tctx->string_validation_replacement);
|
||||||
return ret;
|
|
||||||
goto fail;
|
goto fail;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user