HomeFreeBSD

multimedia/miro: unbreak with ffmpeg 4.0

Description

multimedia/miro: unbreak with ffmpeg 4.0

linux/miro-segmenter.c:103:48: error: use of undeclared identifier 'CODEC_FLAG_GLOBAL_HEADER'

output_codec_context->flags |= CODEC_FLAG_GLOBAL_HEADER;
                               ^

linux/miro-segmenter.c:270:46: error: no member named 'pts' in 'struct AVStream'

segment_time = (double)video_st->pts.val * video_st->time_base.num / video_st->time_base.den;
                       ~~~~~~~~  ^

linux/miro-segmenter.c:273:46: error: no member named 'pts' in 'struct AVStream'

segment_time = (double)audio_st->pts.val * audio_st->time_base.num / audio_st->time_base.den;
                       ~~~~~~~~  ^

PR: 227726
Reported by: antoine (via exp-run)

Details

Provenance
jbeichAuthored on
Parents
rP469016: multimedia/ccextractor: unbreak with ffmpeg 4.0
Branches
Unknown
Tags
Unknown