You are probably using an outdated ffmpeg version. Use ffmpeg svn as described on http://ffmpeg.sf.net or install libavcodec-dev or libavcodec-devel from you linux vendor.
Simon Le vendredi 13 octobre 2006 10:19, 류호은 a écrit : > I'm trying to compile mediastreamer2 but I have a problem with ffmpeg. > > I ran configure script, and make. > > Following errors ocurred. > > videoenc.c: In function 'prepare': > ##videoenc.c:190: error: 'struct AVCodecContext' has no member named > 'time_base' > ##videoenc.c:191: error: 'struct AVCodecContext' has no member named > 'time_base' > videoenc.c: In function 'prepare_h263': > ##videoenc.c:207: error: 'CODEC_FLAG_AC_PRED' undeclared (first use in this > function) > ##videoenc.c:207: error: (Each undeclared identifier is reported only once > ##videoenc.c:207: error: for each function it appears in.) > ##videoenc.c:208: error: 'CODEC_FLAG_H263P_SLICE_STRUCT' undeclared (first > use in this function) > videoenc.c: In function 'prepare_mpeg4': > ##videoenc.c:220: error: 'CODEC_FLAG_AC_PRED' undeclared (first use in this > function) > cc1: warnings being treated as errors > videoenc.c: In function 'process_frame': > videoenc.c:380: warning: implicit declaration of function > 'avcodec_get_frame_defaults' > videoenc.c:381: warning: dereferencing type-punned pointer will break > strict-aliasing rules > ##videoenc.c:384: error: 'AV_NOPTS_VALUE' undeclared (first use in this > function) > > I installed libavcodec(also avformat)-devel packages. > > what should I do? > > thank you. _______________________________________________ Linphone-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/linphone-users
