freebsd-ports/multimedia/vlc
Jan Beich e4ed1acbca multimedia/vlc: unbreak with ffmpeg 4.0
codec/avcodec/audio.c:99:37: error: use of undeclared identifier 'FF_INPUT_BUFFER_PADDING_SIZE'
                av_malloc( i_size + FF_INPUT_BUFFER_PADDING_SIZE );
                                    ^
codec/avcodec/subtitle.c:147:50: error: use of undeclared identifier 'FF_INPUT_BUFFER_PADDING_SIZE'
                               block->i_buffer + FF_INPUT_BUFFER_PADDING_SIZE);
                                                 ^
codec/avcodec/video.c:254:36: error: use of undeclared identifier 'CODEC_FLAG_GRAY'
        p_sys->p_context->flags |= CODEC_FLAG_GRAY;
                                   ^
codec/avcodec/encoder.c:525:20: error: no member named 'border_masking' in 'struct AVCodecContext'
        p_context->border_masking = p_sys->f_border_masking;
        ~~~~~~~~~  ^

codec/avcodec/encoder.c:534:45: error: use of undeclared identifier 'FF_MAX_B_FRAMES'
            VLC_CLIP( p_sys->i_b_frames, 0, FF_MAX_B_FRAMES );
                                            ^
codec/avcodec/encoder.c:642:45: error: no member named 'lmin' in 'struct AVCodecContext'; did you mean 'qmin'?
            p_context->mb_lmin = p_context->lmin = p_sys->i_qmin * FF_QP2LAMBDA;
                                            ^~~~
codec/avcodec/encoder.c:647:45: error: no member named 'lmax' in 'struct AVCodecContext'; did you mean 'qmax'?
            p_context->mb_lmax = p_context->lmax = p_sys->i_qmax * FF_QP2LAMBDA;
                                            ^~~~
codec/avcodec/encoder.c:660:24: error: no member named 'rc_qsquish' in 'struct AVCodecContext'
            p_context->rc_qsquish = 1.0;
            ~~~~~~~~~  ^
codec/avcodec/encoder.c:674:24: error: no member named 'rc_buffer_aggressivity' in 'struct AVCodecContext'
            p_context->rc_buffer_aggressivity = p_sys->f_rc_buffer_aggressivity;
            ~~~~~~~~~  ^

PR:		227726
Obtained from:	upstream (VLC 3.0.0)
2018-04-27 12:53:23 +00:00
..
files multimedia/vlc: unbreak with ffmpeg 4.0 2018-04-27 12:53:23 +00:00
distinfo Update to upstream version 2.2.8 2018-01-01 10:28:51 +00:00
Makefile Bump PORTREVISION for ports depending on libmatroska 2018-04-22 18:14:24 +00:00
pkg-descr Update to upstream version 2.2.8 2018-01-01 10:28:51 +00:00
pkg-plist Update to upstream version 2.2.8 2018-01-01 10:28:51 +00:00