How to solve this problom -- ‘enum CodecID’ declared inside parameter list

198 views
Skip to first unread message

chikyu choi

unread,
Aug 8, 2014, 10:57:35 PM8/8/14
to doub...@googlegroups.com
hi.
i've try to compile doubango, but i confilct this error
how to solve this.

./autogen.sh && ./configure --with-speexdsp --with-ffmpeg
make 

--------------------------------------------------like this --------------------------------------------------------------------------------------------------
.....
src/codecs/h263/tdav_codec_h263.c:123: warning: ‘enum CodecID’ declared inside parameter list
src/codecs/h263/tdav_codec_h263.c:123: warning: its scope is only this definition or declaration, which is probably not what you want
src/codecs/h263/tdav_codec_h263.c:188: warning: ‘enum CodecID’ declared inside parameter list
src/codecs/h263/tdav_codec_h263.c:188: error: parameter 3 (‘encoder’) has incomplete type
src/codecs/h263/tdav_codec_h263.c:188: error: parameter 4 (‘decoder’) has incomplete type
src/codecs/h263/tdav_codec_h263.c: In function ‘tdav_codec_h263_encode’:
src/codecs/h263/tdav_codec_h263.c:315: warning: ‘avcodec_encode_video’ is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:4467)
src/codecs/h263/tdav_codec_h263.c: In function ‘tdav_codec_h263_ctor’:
src/codecs/h263/tdav_codec_h263.c:547: error: type of formal parameter 3 is incomplete
src/codecs/h263/tdav_codec_h263.c:547: error: type of formal parameter 4 is incomplete
src/codecs/h263/tdav_codec_h263.c: In function ‘tdav_codec_h263p_ctor’:
src/codecs/h263/tdav_codec_h263.c:773: error: type of formal parameter 3 is incomplete
src/codecs/h263/tdav_codec_h263.c:773: error: type of formal parameter 4 is incomplete
src/codecs/h263/tdav_codec_h263.c: In function ‘tdav_codec_h263pp_ctor’:
src/codecs/h263/tdav_codec_h263.c:853: error: type of formal parameter 3 is incomplete
src/codecs/h263/tdav_codec_h263.c:853: error: type of formal parameter 4 is incomplete
src/codecs/h263/tdav_codec_h263.c: In function ‘tdav_codec_h263_open_encoder’:
src/codecs/h263/tdav_codec_h263.c:919: warning: assignment makes pointer from integer without a cast
src/codecs/h263/tdav_codec_h263.c:950: warning: ‘avcodec_alloc_frame’ is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:3536)
src/codecs/h263/tdav_codec_h263.c:954: warning: ‘avcodec_get_frame_defaults’ is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:3546)
src/codecs/h263/tdav_codec_h263.c: In function ‘tdav_codec_h263_open_decoder’:
src/codecs/h263/tdav_codec_h263.c:1024: warning: assignment makes pointer from integer without a cast
src/codecs/h263/tdav_codec_h263.c:1032: warning: ‘avcodec_alloc_frame’ is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:3536)
src/codecs/h263/tdav_codec_h263.c:1036: warning: ‘avcodec_get_frame_defaults’ is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:3546)

-----------------------------------------------------------------------------------------------------------

Mamadou

unread,
Aug 13, 2014, 6:42:07 AM8/13/14
to doub...@googlegroups.com
Try with the recommended FFmpeg release (n1.2). We'll update our code in the coming days to support latest releases.
Reply all
Reply to author
Forward
0 new messages