diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2025-04-15 02:30:48 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2025-04-16 06:13:03 +0200 |
commit | 37635d31cbbf14c0ed7b918babc12cff8d03be5a (patch) | |
tree | c284d781aef54e2a4e8eb66a5896afcc31ffc944 | |
parent | f873734f84a81ddd04ad41571f939dcd7048d014 (diff) | |
download | ffmpeg-37635d31cbbf14c0ed7b918babc12cff8d03be5a.tar.gz |
fftools/textformat/avtextformat: Add missing AVERROR()
Reviewed-by: softworkz . <softworkz-at-hotmail.com@ffmpeg.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r-- | fftools/textformat/avtextformat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fftools/textformat/avtextformat.c b/fftools/textformat/avtextformat.c index 4a90d8664f..5abf81194e 100644 --- a/fftools/textformat/avtextformat.c +++ b/fftools/textformat/avtextformat.c @@ -106,7 +106,7 @@ int avtext_context_close(AVTextFormatContext **ptctx) int ret = 0; if (!tctx) - return EINVAL; + return AVERROR(EINVAL); av_hash_freep(&tctx->hash); @@ -590,7 +590,7 @@ int avtextwriter_context_close(AVTextWriterContext **pwctx) int ret = 0; if (!wctx) - return EINVAL; + return AVERROR(EINVAL); if (wctx->writer) { if (wctx->writer->uninit) |