PromyLOPh / pianobar

Console-based pandora.com player
http://6xq.net/pianobar/
Other
1.74k stars 321 forks source link

avcodec API changes #681

Closed vandys closed 5 years ago

vandys commented 5 years ago

Subject of the issue

While trying to build on Ubuntu Xenial, I get:

unknown type name 'AVCodecParameters'

among many related compilation errors. It appears the avcodec API has changed quite a bit. For instance, avcodec_send_packet is no longer known as a function.

Your environment

Steps to reproduce

Just try to build...

PromyLOPh commented 5 years ago

Xenial ships ffmpeg 2.8, which is old and lacks important APIs. I can’t support that version right now, but if you want to provide a patch, feel free to submit a pull request and I’ll have a look.

Edit: A pianobar version before commit f3dff6792232d1e3f2deb8baf21dc1fa81581090 might build with that version though.

vandys commented 5 years ago

Not being conversant with the ways of libavcodec, I thought I was filing on a newer API. Ubuntu is mostly being phased out here, and I'm happy that you're not going to work on an outdated API. Thanks!