The branch, master has been updated
via 9034ca30effd6ba00977bbcbe61e7e4852e4ef2e (commit)
from afad332d77278232662e6d8c95c2fc80cb44c8dd (commit)
- Log -----------------------------------------------------------------
commit 9034ca30effd6ba00977bbcbe61e7e4852e4ef2e
Author: Zhao Zhili <[email protected]>
AuthorDate: Mon Sep 22 00:42:02 2025 +0800
Commit: Zhao Zhili <[email protected]>
CommitDate: Thu Oct 9 03:41:29 2025 +0000
avformat/flacdec: fix self assign warning
diff --git a/libavformat/flacdec.c b/libavformat/flacdec.c
index c2ba937b15..e80b49307d 100644
--- a/libavformat/flacdec.c
+++ b/libavformat/flacdec.c
@@ -102,9 +102,9 @@ static int flac_read_header(AVFormatContext *s)
return AVERROR(ENOMEM);
}
ret = ffio_read_size(s->pb, buffer, metadata_size);
- if (ret < 0) {
- RETURN_ERROR(ret);
- }
+ if (ret < 0)
+ goto fail;
+
break;
/* skip metadata block for unsupported types */
default:
-----------------------------------------------------------------------
Summary of changes:
libavformat/flacdec.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
hooks/post-receive
--
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]