summaryrefslogtreecommitdiff
path: root/libavformat/apetag.c
diff options
context:
space:
mode:
authorNicolas George <nicolas.george@normalesup.org>2012-08-01 10:08:25 +0200
committerNicolas George <nicolas.george@normalesup.org>2012-08-01 13:33:51 +0200
commitff2955a4f70d446b502889dd71c5aae0757834e4 (patch)
tree594ebd1e5024514ab66cda2f09575b3e3d5e33c6 /libavformat/apetag.c
parentf952b23ed4b720b4544d520713458ea28e12c2d6 (diff)
apetag: return value when required.
Should fix compilation on clang.
Diffstat (limited to 'libavformat/apetag.c')
-rw-r--r--libavformat/apetag.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/apetag.c b/libavformat/apetag.c
index 1818892b40..7c87086a29 100644
--- a/libavformat/apetag.c
+++ b/libavformat/apetag.c
@@ -157,7 +157,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);