[FFmpeg-cvslog] apetag: change a forgotten return to return 0

Anton Khirnov git at videolan.org
Wed Aug 1 23:40:10 CEST 2012


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Tue Jul 31 21:32:25 2012 +0200| [921063877e39e8cb7826928e6a7b08e2422e1f5c] | committer: Anton Khirnov

apetag: change a forgotten return to return 0

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

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

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



More information about the ffmpeg-cvslog mailing list