[MPlayer-users] Cannot compile latest svn... error in libavcodec/utils.c

andrew andrew at andrews-corner.org
Thu Mar 14 21:01:42 CET 2013


I cannot compile the latest svn under slackware with the following
error. Thanks for looking at this,

Andrew

--------------------------
CC      libavcodec/ulti.o
CC      libavcodec/utils.o
libavcodec/utils.c: In function 'avcodec_default_get_buffer2':
libavcodec/utils.c:589:5: warning: 'type' is deprecated (declared at ./libavutil/frame.h:246) [-Wdeprecated-declarations]
libavcodec/utils.c: In function 'compat_free_buffer':
libavcodec/utils.c:673:5: warning: 'release_buffer' is deprecated (declared at libavcodec/avcodec.h:2005) [-Wdeprecated-declarations]
libavcodec/utils.c:674:9: warning: 'release_buffer' is deprecated (declared at libavcodec/avcodec.h:2005) [-Wdeprecated-declarations]
libavcodec/utils.c: In function 'get_buffer_internal':
libavcodec/utils.c:706:5: warning: 'get_buffer' is deprecated (declared at libavcodec/avcodec.h:1991) [-Wdeprecated-declarations]
libavcodec/utils.c:712:13: warning: 'reference' is deprecated (declared at ./libavutil/frame.h:177) [-Wdeprecated-declarations]
libavcodec/utils.c:714:9: warning: 'get_buffer' is deprecated (declared at libavcodec/avcodec.h:1991) [-Wdeprecated-declarations]
libavcodec/utils.c:798:9: warning: 'release_buffer' is deprecated (declared at libavcodec/avcodec.h:2005) [-Wdeprecated-declarations]
libavcodec/utils.c: In function 'reget_buffer_internal':
libavcodec/utils.c:846:19: warning: passing argument 3 of 'av_image_copy' from incompatible pointer type [enabled by default]
In file included from libavcodec/utils.c:37:0:
./libavutil/imgutils.h:118:6: note: expected 'const uint8_t **' but argument is of type 'uint8_t **'
libavcodec/utils.c: In function 'avcodec_open2':
libavcodec/utils.c:1147:9: error: 'CONFIG_FRAME_THREAD_ENCODER' undeclared (first use in this function)
libavcodec/utils.c:1147:9: note: each undeclared identifier is reported only once for each function it appears in
libavcodec/utils.c: In function 'ff_alloc_packet2':
libavcodec/utils.c:1375:13: warning: 'destruct' is deprecated (declared at libavcodec/avcodec.h:1061) [-Wdeprecated-declarations]
libavcodec/utils.c:1382:9: warning: 'destruct' is deprecated (declared at libavcodec/avcodec.h:1061) [-Wdeprecated-declarations]
libavcodec/utils.c:1392:9: warning: 'destruct' is deprecated (declared at libavcodec/avcodec.h:1061) [-Wdeprecated-declarations]
libavcodec/utils.c: In function 'avcodec_encode_audio2':
libavcodec/utils.c:1544:13: warning: 'destruct' is deprecated (declared at libavcodec/avcodec.h:1061) [-Wdeprecated-declarations]
libavcodec/utils.c:1544:13: warning: 'destruct' is deprecated (declared at libavcodec/avcodec.h:1061) [-Wdeprecated-declarations]
libavcodec/utils.c: In function 'avcodec_encode_video2':
libavcodec/utils.c:1709:8: error: 'CONFIG_FRAME_THREAD_ENCODER' undeclared (first use in this function)
libavcodec/utils.c:1743:13: warning: 'destruct' is deprecated (declared at libavcodec/avcodec.h:1061) [-Wdeprecated-declarations]
libavcodec/utils.c:1743:13: warning: 'destruct' is deprecated (declared at libavcodec/avcodec.h:1061) [-Wdeprecated-declarations]
libavcodec/utils.c: In function 'avcodec_decode_audio3':
libavcodec/utils.c:1975:5: warning: 'get_buffer' is deprecated (declared at libavcodec/avcodec.h:1991) [-Wdeprecated-declarations]
libavcodec/utils.c:1975:5: warning: 'avcodec_default_get_buffer' is deprecated (declared at libavcodec/utils.c:660) [-Wdeprecated-declarations]
libavcodec/utils.c:1980:9: warning: 'get_buffer' is deprecated (declared at libavcodec/avcodec.h:1991) [-Wdeprecated-declarations]
libavcodec/utils.c:1980:9: warning: 'avcodec_default_get_buffer' is deprecated (declared at libavcodec/utils.c:660) [-Wdeprecated-declarations]
libavcodec/utils.c:1981:9: warning: 'release_buffer' is deprecated (declared at libavcodec/avcodec.h:2005) [-Wdeprecated-declarations]
libavcodec/utils.c:1981:9: warning: 'avcodec_default_release_buffer' is deprecated (declared at libavcodec/utils.c:862) [-Wdeprecated-declarations]
libavcodec/utils.c: In function 'avcodec_close':
libavcodec/utils.c:2283:13: error: 'CONFIG_FRAME_THREAD_ENCODER' undeclared (first use in this function)
libavcodec/utils.c: In function 'av_log_missing_feature':
libavcodec/utils.c:2873:9: warning: 'av_log_ask_for_sample' is deprecated (declared at libavcodec/avcodec.h:4599) [-Wdeprecated-declarations]
make[1]: *** [libavcodec/utils.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/tmp/mplayer/ffmpeg'
make: *** [ffmpeg/libavcodec/libavcodec.a] Error 2
root at skamandros/home/andrew/source/mplayer_build/mplayer# 
---------


-- 
You think that's air you're breathing now?


More information about the MPlayer-users mailing list