summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavformat/apetag.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/apetag.c b/libavformat/apetag.c
index dd746313b5..d075040166 100644
--- a/libavformat/apetag.c
+++ b/libavformat/apetag.c
@@ -159,7 +159,7 @@ int64_t ff_ape_parse_tag(AVFormatContext *s)
val = avio_rl32(pb); /* flags */
if (val & APE_TAG_FLAG_IS_HEADER) {
av_log(s, AV_LOG_ERROR, "APE Tag is a header\n");
- return;
+ return 0;
}
avio_seek(pb, file_size - tag_bytes, SEEK_SET);