mirror of
https://mirror.skon.top/https://github.com/FFmpeg/FFmpeg
synced 2026-04-20 12:50:49 +08:00
avformat/apetag: Fix shadowing
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@@ -81,7 +81,7 @@ static int ape_tag_read_field(AVFormatContext *s)
|
||||
av_dict_set(&st->metadata, key, filename, 0);
|
||||
|
||||
if ((id = ff_guess_image2_codec(filename)) != AV_CODEC_ID_NONE) {
|
||||
int ret = ff_add_attached_pic(s, st, s->pb, NULL, size);
|
||||
ret = ff_add_attached_pic(s, st, s->pb, NULL, size);
|
||||
if (ret < 0) {
|
||||
av_log(s, AV_LOG_ERROR, "Error reading cover art.\n");
|
||||
return ret;
|
||||
|
||||
Reference in New Issue
Block a user