Date: Wed, 02 May 2018 16:59:47 +0000 From: bugzilla-noreply@freebsd.org To: multimedia@FreeBSD.org Subject: [Bug 227726] multimedia/ffmpeg: update to 4.0 Message-ID: <bug-227726-12827-Tw7C0gZwvt@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-227726-12827@https.bugs.freebsd.org/bugzilla/> References: <bug-227726-12827@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227726 --- Comment #55 from commit-hook@freebsd.org --- A commit references this bug: Author: jbeich Date: Wed May 2 16:59:34 UTC 2018 New revision: 468855 URL: https://svnweb.freebsd.org/changeset/ports/468855 Log: multimedia/qmmp-qt5: unbreak with ffmpeg 4.0 src/plugins/Input/ffmpeg/decoder_ffmpeg.h:64:43: error: use of undeclared identifier 'FF_INPUT_BUFFER_PADDING_SIZE' uchar m_input_buf[INPUT_BUFFER_SIZE + FF_INPUT_BUFFER_PADDING_SIZE]; ^ src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp:37:17: error: cannot initiali= ze object parameter of type 'Decoder' with an expression of type 'DecoderFFmpe= g' return (int)d->input()->read((char*)buf, size); ^ src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp:49:16: error: cannot initiali= ze object parameter of type 'Decoder' with an expression of type 'DecoderFFmpe= g' return d->input()->size(); ^ src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp:54:24: error: cannot initiali= ze object parameter of type 'Decoder' with an expression of type 'DecoderFFmpe= g' absolute_pos =3D d->input()->pos() + offset; ^ src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp:57:24: error: cannot initiali= ze object parameter of type 'Decoder' with an expression of type 'DecoderFFmpe= g' absolute_pos =3D d->input()->size() - offset; ^ src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp:62:43: error: cannot initiali= ze object parameter of type 'Decoder' with an expression of type 'DecoderFFmpe= g' if(absolute_pos < 0 || absolute_pos > d->input()->size()) ^ src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp:64:12: error: cannot initiali= ze object parameter of type 'Decoder' with an expression of type 'DecoderFFmpe= g' return d->input()->seek(absolute_pos); ^ src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp:131:19: error: cannot initial= ize object parameter of type 'Decoder' with an expression of type 'DecoderFFmpe= g' pd.buf_size =3D input()->peek((char*)buf, sizeof(buf) - AVPROBE_PADDING_SIZE); ^~~~~ src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp:153:27: error: cannot initial= ize object parameter of type 'Decoder' with an expression of type 'DecoderFFmpe= g' m_stream->seekable =3D !input()->isSequential(); ^~~~~ src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp:166:9: error: cannot initiali= ze object parameter of type 'Decoder' with an expression of type 'DecoderFFmpe= g' if (input()->isSequential()) ^~~~~ src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp:204:9: error: cannot initiali= ze object parameter of type 'Decoder' with an expression of type 'DecoderFFmpe= g' addMetaData(metaData); ^~~~~~~~~~~ src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp:209:5: error: cannot initiali= ze object parameter of type 'Decoder' with an expression of type 'DecoderFFmpe= g' setReplayGainInfo(rg.replayGainInfo()); ^~~~~~~~~~~~~~~~~ src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp:271:19: error: cannot initial= ize object parameter of type 'Decoder' with an expression of type 'DecoderFFmpe= g' m_totalTime =3D input()->isSequential() ? 0 : ic->duration * 1000 / AV_TIME_BASE; ^~~~~ src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp:301:5: error: no matching mem= ber function for call to 'configure' configure(c->sample_rate, m_channels, format); ^~~~~~~~~ src/plugins/Input/ffmpeg/../../../qmmp/decoder.h:177:10: note: candidate function not viable: no known conversion from 'DecoderFFmpeg' to 'Decoder' = for object argument void configure(quint32 srate, int channels, Qmmp::AudioFormat f =3D Qmmp::PCM_S16LE); ^ src/plugins/Input/ffmpeg/../../../qmmp/decoder.h:170:10: note: candidate function not viable: no known conversion from 'DecoderFFmpeg' to 'Decoder' = for object argument void configure(quint32 srate, const ChannelMap &map, Qmmp::AudioForma= t f =3D Qmmp::PCM_S16LE); ^ src/plugins/Input/ffmpeg/../../../qmmp/decoder.h:182:10: note: candidate function not viable: requires single argument 'p', but 3 arguments were provided void configure(const AudioParameters &p); ^ PR: 227726 Reported by: antoine (via exp-run) Changes: head/multimedia/qmmp-qt5/Makefile head/multimedia/qmmp-qt5/files/ head/multimedia/qmmp-qt5/files/patch-ffmpeg4 --=20 You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-227726-12827-Tw7C0gZwvt>