Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 546454 - app-emulation/fuse-utils-1.1.1: fmfconv_ff.c:227:32: error: parameter 1 ('codec_id') has incomplete type
Summary: app-emulation/fuse-utils-1.1.1: fmfconv_ff.c:227:32: error: parameter 1 ('cod...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 2 votes (vote)
Assignee: Jan Ziak (atomsymbol)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 625204
  Show dependency tree
 
Reported: 2015-04-13 13:35 UTC by Martin Mokrejš
Modified: 2017-08-03 12:42 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,16.82 KB, text/x-log)
2015-04-13 13:35 UTC, Martin Mokrejš
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Mokrejš 2015-04-13 13:35:00 UTC
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include  -I/usr/include  -O2 -pipe -maes -mpclmul -mpopcnt -mavx -march=native -Wall -c fmfconv_ff.c
fmfconv_ff.c: In function 'ffmpeg_resample_audio':
fmfconv_ff.c:136:5: warning: 'audio_resample_close' is deprecated (declared at /usr/include/libavcodec/avcodec.h:4685) [-Wdeprecated-declarations]
     audio_resample_close( audio_resample_ctx );
     ^
fmfconv_ff.c:148:5: warning: 'av_audio_resample_init' is deprecated (declared at /usr/include/libavcodec/avcodec.h:4668) [-Wdeprecated-declarations]
     audio_resample_ctx = av_audio_resample_init( out_chn, snd_chn,
     ^
fmfconv_ff.c:163:3: warning: 'audio_resample' is deprecated (declared at /usr/include/libavcodec/avcodec.h:4676) [-Wdeprecated-declarations]
   len = audio_resample( audio_resample_ctx,
   ^
fmfconv_ff.c: At top level:
fmfconv_ff.c:227:24: warning: 'enum CodecID' declared inside parameter list
 add_audio_stream( enum CodecID codec_id, int freq, int stereo )
                        ^
fmfconv_ff.c:227:24: warning: its scope is only this definition or declaration, which is probably not what you want
fmfconv_ff.c:227:32: error: parameter 1 ('codec_id') has incomplete type
 add_audio_stream( enum CodecID codec_id, int freq, int stereo )
                                ^
fmfconv_ff.c: In function 'ffmpeg_add_sound_ffmpeg':
fmfconv_ff.c:346:7: warning: 'avcodec_encode_audio' is deprecated (declared at /usr/include/libavcodec/avcodec.h:4526) [-Wdeprecated-declarations]
       pkt.size = avcodec_encode_audio( c, audio_outbuf, audio_outbuf_size, audio_inpbuf );
       ^
fmfconv_ff.c:371:5: warning: 'avcodec_encode_audio' is deprecated (declared at /usr/include/libavcodec/avcodec.h:4526) [-Wdeprecated-declarations]
     pkt.size = avcodec_encode_audio( c, audio_outbuf, coded_bps ? len * out_chn * coded_bps / 8 : len * out_chn, buf );
     ^
fmfconv_ff.c: At top level:
fmfconv_ff.c:443:24: warning: 'enum CodecID' declared inside parameter list
 add_video_stream( enum CodecID codec_id, int w, int h, int timing )
                        ^
fmfconv_ff.c:443:32: error: parameter 1 ('codec_id') has incomplete type
 add_video_stream( enum CodecID codec_id, int w, int h, int timing )
                                ^
fmfconv_ff.c: In function 'alloc_picture':
fmfconv_ff.c:508:3: warning: 'avcodec_alloc_frame' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3622) [-Wdeprecated-declarations]
   picture = avcodec_alloc_frame();
   ^
fmfconv_ff.c: In function 'ffmpeg_add_frame_ffmpeg':
fmfconv_ff.c:625:5: warning: 'avcodec_encode_video' is deprecated (declared at /usr/include/libavcodec/avcodec.h:4589) [-Wdeprecated-declarations]
     out_size = avcodec_encode_video( c, video_outbuf, video_outbuf_size, ffmpeg_pict );
     ^
fmfconv_ff.c: In function 'out_write_ffmpegheader':
fmfconv_ff.c:677:16: error: storage size of 'acodec' isn't known
   enum CodecID acodec, vcodec;
                ^
fmfconv_ff.c:677:24: error: storage size of 'vcodec' isn't known
   enum CodecID acodec, vcodec;
                        ^
fmfconv_ff.c:677:24: warning: unused variable 'vcodec' [-Wunused-variable]
fmfconv_ff.c:677:16: warning: unused variable 'acodec' [-Wunused-variable]
   enum CodecID acodec, vcodec;
                ^
Makefile:643: recipe for target 'fmfconv_ff.o' failed
make[2]: *** [fmfconv_ff.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/mnt/1TB/var/tmp/portage/app-emulation/fuse-utils-1.1.1/work/fuse-utils-1.1.1'
Comment 1 Martin Mokrejš 2015-04-13 13:35:26 UTC
Created attachment 401178 [details]
build.log
Comment 2 Pacho Ramos gentoo-dev 2017-08-03 12:42:53 UTC
this looks to compile ok with stable ffmpeg-3 and 1.3.2 fuse-utils