Bugs item #3530697, was opened at 2012-05-29 20:17 Message generated for change (Comment added) made by reddwarf69 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: Open Resolution: None 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: 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 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ SoX-devel mailing list SoX-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sox-devel