apetag: return value when required.
authorNicolas George <nicolas.george@normalesup.org>
Wed, 1 Aug 2012 08:08:25 +0000 (10:08 +0200)
committerNicolas George <nicolas.george@normalesup.org>
Wed, 1 Aug 2012 11:33:51 +0000 (13:33 +0200)
Should fix compilation on clang.

libavformat/apetag.c

index 1818892..7c87086 100644 (file)
@@ -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);