[FFmpeg-trac] #1593(avformat:new): Build failure: apetag.c:160:9: error: non-void function 'ff_ape_parse_tag' should return a value [-Wreturn-type]

FFmpeg trac at avcodec.org
Thu Aug 2 07:30:04 CEST 2012


#1593: Build failure: apetag.c:160:9: error: non-void function 'ff_ape_parse_tag'
should return a value [-Wreturn-type]
--------------------------------------+----------------------------------
               Reporter:  jeremyhu    |                  Owner:  anton@…
                   Type:  defect      |                 Status:  new
               Priority:  critical    |              Component:  avformat
                Version:  git-master  |               Keywords:
             Blocked By:              |               Blocking:
Reproduced by developer:  0           |  Analyzed by developer:  0
--------------------------------------+----------------------------------
 Introduced by:
 {{{

 commit 782e64fbe1daa84c38594db037d0edfac7193c37
 Author: Anton Khirnov <anton at khirnov.net>
 Date:   Mon Jul 30 07:28:35 2012 +0200

     wv,mpc8: don't return apetag data in packets.

 }}}

 {{{
 /Users/jeremy/src/ffmpeg/fate/i386-darwin-clang-
 apple-3.1/src/libavformat/apetag.c:160:9: error: non-void function
 'ff_ape_parse_tag' should return a value [-Wreturn-type]
         return;
         ^
 }}}

 You forgot to change one of the 'return's into a 'return 0'

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1593>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list