apetag: change a forgotten return to return 0
authorAnton Khirnov <anton@khirnov.net>
Tue, 31 Jul 2012 19:32:25 +0000 (21:32 +0200)
committerAnton Khirnov <anton@khirnov.net>
Tue, 31 Jul 2012 19:32:25 +0000 (21:32 +0200)
libavformat/apetag.c

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