Bugs item #3530697, was opened at 2012-05-29 20:17 Message generated for change (Comment added) made by uklauer You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110706&aid=3530697&group_id=10706
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None >Status: Closed >Resolution: Wont Fix Priority: 5 Private: No Submitted By: Funda Wang (fundawang) Assigned to: Nobody/Anonymous (nobody) Summary: sox uses deprecated symbols of ffmpeg Initial Comment: sox deprecated symbols of ffmpeg, causing build failure with ffmpeg 0.11: ffmpeg.c: In function 'stream_component_open': ffmpeg.c:96:6: error: 'AVCodecContext' has no member named 'error_recognition' ffmpeg.c: In function 'audio_decode_frame': ffmpeg.c:138:7: warning: 'avcodec_decode_audio3' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3658) [-Wdeprecated-declarations] ffmpeg.c: In function 'startread': ffmpeg.c:160:3: error: unknown type name 'AVFormatParameters' ffmpeg.c:175:3: warning: implicit declaration of function 'avformat_open_file' [-Wimplicit-function-declaration] ffmpeg.c: In function 'read_samples': ffmpeg.c:234:4: warning: implicit declaration of function 'url_ferror' [-Wimplicit-function-declaration] ffmpeg.c: In function 'stopread': ffmpeg.c:259:5: warning: 'av_close_input_file' is deprecated (declared at /usr/include/libavformat/avformat.h:1533) [-Wdeprecated-declarations] ffmpeg.c: In function 'add_audio_stream': ffmpeg.c:275:3: warning: 'av_new_stream' is deprecated (declared at /usr/include/libavformat/avformat.h:1557) [-Wdeprecated-declarations] ffmpeg.c: In function 'startwrite': ffmpeg.c:378:3: warning: implicit declaration of function 'av_set_parameters' [-Wimplicit-function-declaration] ffmpeg.c:394:5: warning: implicit declaration of function 'url_fopen' [-Wimplicit-function-declaration] ffmpeg.c:394:52: error: 'URL_WRONLY' undeclared (first use in this function) ffmpeg.c:394:52: note: each undeclared identifier is reported only once for each function it appears in ffmpeg.c:401:3: warning: implicit declaration of function 'av_write_header' [-Wimplicit-function-declaration] ffmpeg.c: In function 'write_samples': ffmpeg.c:431:7: warning: 'avcodec_encode_audio' is deprecated (declared at /usr/include/libavcodec/avcodec.h:4015) [-Wdeprecated-declarations] ffmpeg.c: In function 'stopwrite': ffmpeg.c:481:5: warning: implicit declaration of function 'url_fclose' [-Wimplicit-function-declaration] Detailed build log attached. ---------------------------------------------------------------------- >Comment By: Ulrich Klauer (uklauer) Date: 2013-02-06 17:32 Message: The ffmpeg format handler has been deprecated and will be removed from the next release. ---------------------------------------------------------------------- Comment By: Pierre Lejeune (superheron) Date: 2012-06-29 12:41 Message: I found a patch fixing this problem : http://www.sourcemage.org/projects/grimoire/repository/revisions/087cf5380a1c6e234a7a8e08b5d0a59bc20d88f5/raw/audio-soft/sox/ffmpeg-0.11-arch.patch ---------------------------------------------------------------------- Comment By: Cristian Morales Vega (reddwarf69) Date: 2012-06-20 10:50 Message: In fact to reach that point you must patch configure since it detects ffmpeg searching for av_open_input_file, that is not available any more (use avformat_open_input). ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110706&aid=3530697&group_id=10706 ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ SoX-devel mailing list SoX-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sox-devel