Created attachment 353090 [details] build.log gcc -o src/ffmpeg2theora.o -c -DPACKAGE_VERSION=\"0.29\" -DPACKAGE_STRING=\"ffmpeg2theora-0.29\" -DPACKAGE=\"ffmpeg2theora\" -D_FILE_OFFSET_BITS=64 -march=barcelona -mtune=barcelona -O2 -pipe -DHAVE_ICONV -I. src/ffmpeg2theora.c src/ffmpeg2theora.c: In function 'ff2theora_output': src/ffmpeg2theora.c:963:17: warning: 'av_audio_resample_init' is deprecated (declared at /usr/include/libavcodec/avcodec.h:4216) [-Wdeprecated-declarations] src/ffmpeg2theora.c:1071:40: error: 'AVCODEC_MAX_AUDIO_FRAME_SIZE' undeclared (first use in this function) src/ffmpeg2theora.c:1071:40: note: each undeclared identifier is reported only once for each function it appears in src/ffmpeg2theora.c:1428:33: warning: passing argument 2 of 'sws_scale' from incompatible pointer type [enabled by default] In file included from src/ffmpeg2theora.c:33:0: /usr/include/libswscale/swscale.h:226:5: note: expected 'const uint8_t * const*' but argument is of type 'uint8_t **' src/ffmpeg2theora.c:1437:33: warning: 'avpicture_deinterlace' is deprecated (declared at /usr/include/libavcodec/avcodec.h:4345) [-Wdeprecated-declarations] src/ffmpeg2theora.c:1452:48: warning: 'qscale_table' is deprecated (declared at /usr/include/libavutil/frame.h:195) [-Wdeprecated-declarations] src/ffmpeg2theora.c:1452:48: warning: 'qstride' is deprecated (declared at /usr/include/libavutil/frame.h:200) [-Wdeprecated-declarations] src/ffmpeg2theora.c:1475:37: warning: passing argument 2 of 'sws_scale' from incompatible pointer type [enabled by default] In file included from src/ffmpeg2theora.c:33:0: /usr/include/libswscale/swscale.h:226:5: note: expected 'const uint8_t * const*' but argument is of type 'uint8_t **' src/ffmpeg2theora.c:1537:25: warning: 'avcodec_decode_audio3' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3682) [-Wdeprecated-declarations] src/ffmpeg2theora.c:1548:33: warning: 'audio_resample' is deprecated (declared at /usr/include/libavcodec/avcodec.h:4224) [-Wdeprecated-declarations] src/ffmpeg2theora.c:1752:17: warning: 'audio_resample_close' is deprecated (declared at /usr/include/libavcodec/avcodec.h:4233) [-Wdeprecated-declarations] scons: *** [src/ffmpeg2theora.o] Error 1 scons: building terminated because of errors. [31;01m*[0m ERROR: media-video/ffmpeg2theora-0.29 failed (compile phase): [31;01m*[0m escons failed.
fix backported from upstream