PromyLOPh / pianobar

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

Compile-time error, AVCodecParameters #614

Closed glyndon closed 7 years ago

glyndon commented 7 years ago

under the latest code, previous versions of which compiled without problem, now I get a series of errors beginning with:

src/player.c:175:8: error: unknown type name ‘AVCodecParameters’

Did I perhaps miss a necessary library/header update notification? (Raspbian 8)

PromyLOPh commented 7 years ago

Yep, I had a few minutes and replaced a deprecated ffmpeg API in commit f3dff6792232d1e3f2deb8baf21dc1fa81581090. Its replacement is rather new and requires libav>=12 or ffmpeg>=3.1. Both are (probably) not available in the “stable” branch of your favorite Linux distribution yet. Since there are no functional changes (nor improvements) you can safely revert that commit or just use release 2016.06.02.

glyndon commented 7 years ago

reverting succeeds. Thank you.