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
106 int ret = 0;106 int ret = 0;
107 107
108 if (!tctx)108 if (!tctx)
109 return EINVAL;109 return AVERROR(EINVAL);
110 110
111 av_hash_freep(&tctx->hash);111 av_hash_freep(&tctx->hash);
112 112
@@ -590,7 +590,7 @@ int avtextwriter_context_close(AVTextWriterContext **pwctx) · 477 unmodified lines
590 int ret = 0;590 int ret = 0;
591 591
592 if (!wctx)592 if (!wctx)
593 return EINVAL;593 return AVERROR(EINVAL);
594 594
595 if (wctx->writer) {595 if (wctx->writer) {
596 if (wctx->writer->uninit)596 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