mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-06-19 03:31:49 +00:00
avformat/flacdec: fix self assign warning
This commit is contained in:
committed by
Zhao Zhili
co-authored by
Zhao Zhili
parent
afad332d77
commit
9034ca30ef
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user