This can never be reached as the errors are already handled
locally when they occur in the code preceding this.
---
 fftools/textformat/avtextformat.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/fftools/textformat/avtextformat.c 
b/fftools/textformat/avtextformat.c
index e1aaa9ba57..6a309f040b 100644
--- a/fftools/textformat/avtextformat.c
+++ b/fftools/textformat/avtextformat.c
@@ -229,8 +229,6 @@ int avtext_context_open(AVTextFormatContext **ptctx, const 
AVTextFormatter *form
 
     if (tctx->formatter->init)
         ret = tctx->formatter->init(tctx);
-    if (ret < 0)
-        goto fail;
 
     *ptctx = tctx;
 
-- 
2.39.5 (Apple Git-154)

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to