freebsd-ports/multimedia/vlc/files
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
..
patch-clang
patch-configure
patch-ffmpeg30
patch-ffmpeg40 multimedia/vlc: unbreak with ffmpeg 4.0 2018-04-27 12:53:23 +00:00
patch-git_92ec47e
patch-git_a1e5e64
patch-git_d2571e6
patch-include-vlc_common.h
patch-include-vlc_threads.h
patch-include_vlc__atomic.h
patch-include_vlc__playlist.h
patch-include_vlc__sout.h
patch-modules-lua-vlc.h
patch-modules_access_rdp.c
patch-share_Makefile.in
patch-src-network-udp.c
patch-v4l