History

fftools/textformat/avtextformat: Add missing AVERROR()

Andreas Rheinhardt committed 1 year ago

Commit 37635d31 parent f8737341 file · +2 −2Browse files

Unified · Split

fftools/textformat/avtextformat.c+2−2
@@ -106,7 +106,7 @@ int avtext_context_close(AVTextFormatContext **ptctx) · 105 unmodified lines
106106 int ret = 0;
107107
108108 if (!tctx)
109− return EINVAL;
109+ return AVERROR(EINVAL);
110110
111111 av_hash_freep(&tctx->hash);
112112
@@ -590,7 +590,7 @@ int avtextwriter_context_close(AVTextWriterContext **pwctx) · 477 unmodified lines
590590 int ret = 0;
591591
592592 if (!wctx)
593− return EINVAL;
593+ return AVERROR(EINVAL);
594594
595595 if (wctx->writer) {
596596 if (wctx->writer->uninit)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t