[FFmpeg-cvslog] apetag: return value when required.

Nicolas George git at videolan.org
Wed Aug 1 13:44:12 CEST 2012


ffmpeg | branch: master | Nicolas George <nicolas.george at normalesup.org> | Wed Aug  1 10:08:25 2012 +0200| [ff2955a4f70d446b502889dd71c5aae0757834e4] | committer: Nicolas George

apetag: return value when required.

Should fix compilation on clang.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ff2955a4f70d446b502889dd71c5aae0757834e4
---

 libavformat/apetag.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/apetag.c b/libavformat/apetag.c
index 1818892..7c87086 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);



More information about the ffmpeg-cvslog mailing list