1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2026-04-24 04:44:54 +02:00

avformat/flacdec: fix self assign warning

This commit is contained in:
Zhao Zhili
2025-09-22 00:42:02 +08:00
committed by Zhao Zhili
parent afad332d77
commit 9034ca30ef
+3 -3
View File
@@ -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: