src/iso639.c: In function 'find_iso639_1': src/iso639.c:200:10: warning: implicit declaration of function 'strcasecmp' [-Wimplicit-function-declaration] if (!strcasecmp(iso639_2,iso639[n].iso639_2t) || (iso639[n].iso639_2b && !strcasecmp(iso639_2,iso639[n].iso639_2b))) { ^ src/ffmpeg2theora.c: In function 'frame_alloc': src/ffmpeg2theora.c:151:15: warning: implicit declaration of function 'avcodec_alloc_frame' [-Wimplicit-function-declaration] picture = avcodec_alloc_frame(); ^ src/ffmpeg2theora.c:151:13: warning: assignment makes pointer from integer without a cast [-Wint-conversion] picture = avcodec_alloc_frame(); ^ src/ffmpeg2theora.c:154:5: warning: 'avpicture_get_size' is deprecated [-Wdeprecated-declarations] size = avpicture_get_size (pix_fmt, width, height); ^ In file included from /usr/include/libavformat/avformat.h:318:0, from src/ffmpeg2theora.c:28: /usr/include/libavcodec/avcodec.h:4898:5: note: declared here int avpicture_get_size(enum AVPixelFormat pix_fmt, int width, int height); ^ src/ffmpeg2theora.c:160:5: warning: 'avpicture_fill' is deprecated [-Wdeprecated-declarations] avpicture_fill((AVPicture *) picture, picture_buf, pix_fmt, width, height); ^ In file included from /usr/include/libavformat/avformat.h:318:0, from src/ffmpeg2theora.c:28: /usr/include/libavcodec/avcodec.h:4883:5: note: declared here int avpicture_fill(AVPicture *picture, const uint8_t *ptr, ^ src/ffmpeg2theora.c: In function 'frame_dealloc': src/ffmpeg2theora.c:169:9: warning: 'avpicture_free' is deprecated [-Wdeprecated-declarations] avpicture_free((AVPicture*)frame); ^ In file included from /usr/include/libavformat/avformat.h:318:0, from src/ffmpeg2theora.c:28: /usr/include/libavcodec/avcodec.h:4877:6: note: declared here void avpicture_free(AVPicture *picture); ^ src/ffmpeg2theora.c: In function 'ff2theora_init': src/ffmpeg2theora.c:234:25: error: 'PIX_FMT_YUV420P' undeclared (first use in this function) this->pix_fmt = PIX_FMT_YUV420P; ^ src/ffmpeg2theora.c:234:25: note: each undeclared identifier is reported only once for each function it appears in src/ffmpeg2theora.c: In function 'find_category_for_subtitle_stream': src/ffmpeg2theora.c:358:10: error: 'CODEC_ID_TEXT' undeclared (first use in this function) case CODEC_ID_TEXT: ^ src/ffmpeg2theora.c:359:10: error: 'CODEC_ID_SSA' undeclared (first use in this function) case CODEC_ID_SSA: ^ src/ffmpeg2theora.c:360:10: error: 'CODEC_ID_MOV_TEXT' undeclared (first use in this function) case CODEC_ID_MOV_TEXT: ^ src/ffmpeg2theora.c:365:10: error: 'CODEC_ID_DVD_SUBTITLE' undeclared (first use in this function) case CODEC_ID_DVD_SUBTITLE: ^ src/ffmpeg2theora.c: In function 'ff2theora_output': src/ffmpeg2theora.c:1404:21: warning: 'av_free_packet' is deprecated [-Wdeprecated-declarations] av_free_packet (&pkt); ^ In file included from /usr/include/libavformat/avformat.h:318:0, from src/ffmpeg2theora.c:28: /usr/include/libavcodec/avcodec.h:4040:6: note: declared here void av_free_packet(AVPacket *pkt); ^ src/ffmpeg2theora.c:1464:33: warning: 'av_picture_copy' is deprecated [-Wdeprecated-declarations] av_picture_copy((AVPicture *)output_tmp, (AVPicture *)frame, this->pix_fmt, ^ In file included from /usr/include/libavformat/avformat.h:318:0, from src/ffmpeg2theora.c:28: /usr/include/libavcodec/avcodec.h:4904:6: note: declared here void av_picture_copy(AVPicture *dst, const AVPicture *src, ^ src/ffmpeg2theora.c:1470:37: warning: implicit declaration of function 'avpicture_deinterlace' [-Wimplicit-function-declaration] if (avpicture_deinterlace((AVPicture *)output,(AVPicture *)output_tmp,this->pix_fmt,display_width,display_height)<0) { ^ src/ffmpeg2theora.c:1476:33: warning: 'av_picture_copy' is deprecated [-Wdeprecated-declarations] av_picture_copy((AVPicture *)output, (AVPicture *)output_tmp, this->pix_fmt, ^ In file included from /usr/include/libavformat/avformat.h:318:0, from src/ffmpeg2theora.c:28: /usr/include/libavcodec/avcodec.h:4904:6: note: declared here void av_picture_copy(AVPicture *dst, const AVPicture *src, ^ src/ffmpeg2theora.c:1485:48: warning: 'qscale_table' is deprecated [-Wdeprecated-declarations] output->qscale_table, output->qstride, scons: building terminated because of errors. fakeroot -- sh ffmpeg2theora.SlackBuild Failed :0, from /usr/include/libavformat/avformat.h:318, from src/ffmpeg2theora.c:28: /usr/include/libavutil/frame.h:499:13: note: declared here int8_t *qscale_table; ^ src/ffmpeg2theora.c:1485:48: warning: 'qstride' is deprecated [-Wdeprecated-declarations] output->qscale_table, output->qstride, ^ In file included from /usr/include/libavcodec/avcodec.h:38:0, from /usr/include/libavformat/avformat.h:318, from src/ffmpeg2theora.c:28: /usr/include/libavutil/frame.h:505:9: note: declared here int qstride; ^ src/ffmpeg2theora.c:1493:33: warning: 'av_picture_crop' is deprecated [-Wdeprecated-declarations] if (av_picture_crop((AVPicture *)output_cropped, ^ In file included from /usr/include/libavformat/avformat.h:318:0, from src/ffmpeg2theora.c:28: /usr/include/libavcodec/avcodec.h:4911:5: note: declared here int av_picture_crop(AVPicture *dst, const AVPicture *src, ^ src/ffmpeg2theora.c:1514:33: warning: 'av_picture_pad' is deprecated [-Wdeprecated-declarations] if (av_picture_pad((AVPicture *)output_padded, ^ In file included from /usr/include/libavformat/avformat.h:318:0, from src/ffmpeg2theora.c:28: /usr/include/libavcodec/avcodec.h:4918:5: note: declared here int av_picture_pad(AVPicture *dst, const AVPicture *src, int height, int width, enum AVPixelFormat pix_fmt, ^ src/ffmpeg2theora.c:1554:25: warning: 'av_picture_copy' is deprecated [-Wdeprecated-declarations] av_picture_copy((AVPicture *)output_buffered, (AVPicture *)output_padded, this->pix_fmt, this->frame_width, this->frame_height); ^ In file included from /usr/include/libavformat/avformat.h:318:0, from src/ffmpeg2theora.c:28: /usr/include/libavcodec/avcodec.h:4904:6: note: declared here void av_picture_copy(AVPicture *dst, const AVPicture *src, ^ src/ffmpeg2theora.c:1567:59: warning: assignment makes pointer from integer without a cast [-Wint-conversion] if (!audio_frame && !(audio_frame = avcodec_alloc_frame())) { ^ src/ffmpeg2theora.c:1617:25: warning: implicit declaration of function 'avcodec_free_frame' [-Wimplicit-function-declaration] avcodec_free_frame(&audio_frame); ^ src/ffmpeg2theora.c:1695:43: error: 'CODEC_ID_TEXT' undeclared (first use in this function) else if (enc->codec_id == CODEC_ID_TEXT) { ^ src/ffmpeg2theora.c:1699:43: error: 'CODEC_ID_SSA' undeclared (first use in this function) else if (enc->codec_id == CODEC_ID_SSA) { ^ src/ffmpeg2theora.c:1703:43: error: 'CODEC_ID_MOV_TEXT' undeclared (first use in this function) else if (enc->codec_id == CODEC_ID_MOV_TEXT) { ^ src/ffmpeg2theora.c:1775:13: warning: 'av_free_packet' is deprecated [-Wdeprecated-declarations] av_free_packet (&pkt); ^ In file included from /usr/include/libavformat/avformat.h:318:0, from src/ffmpeg2theora.c:28: /usr/include/libavcodec/avcodec.h:4040:6: note: declared here void av_free_packet(AVPacket *pkt); ^ src/ffmpeg2theora.c: In function 'copy_metadata': src/ffmpeg2theora.c:1989:25: warning: implicit declaration of function 'toupper' [-Wimplicit-function-declaration] uc_key[i] = toupper(tag->key[i]); ^ scons: *** [src/ffmpeg2theora.o] Error 1