You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-04 22:03:09 +02:00
fftools/textformat/avtextformat: Add missing AVERROR()
Reviewed-by: softworkz . <softworkz-at-hotmail.com@ffmpeg.org> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@ -106,7 +106,7 @@ int avtext_context_close(AVTextFormatContext **ptctx)
|
|||||||
int ret = 0;
|
int ret = 0;
|
||||||
|
|
||||||
if (!tctx)
|
if (!tctx)
|
||||||
return EINVAL;
|
return AVERROR(EINVAL);
|
||||||
|
|
||||||
av_hash_freep(&tctx->hash);
|
av_hash_freep(&tctx->hash);
|
||||||
|
|
||||||
@ -590,7 +590,7 @@ int avtextwriter_context_close(AVTextWriterContext **pwctx)
|
|||||||
int ret = 0;
|
int ret = 0;
|
||||||
|
|
||||||
if (!wctx)
|
if (!wctx)
|
||||||
return EINVAL;
|
return AVERROR(EINVAL);
|
||||||
|
|
||||||
if (wctx->writer) {
|
if (wctx->writer) {
|
||||||
if (wctx->writer->uninit)
|
if (wctx->writer->uninit)
|
||||||
|
Reference in New Issue
Block a user