openhome / ohPlayer

ohPlayer is a full featured OpenHome media renderer licenced under an MIT licence

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

libavresample was deprecated and removed from ffmpeg

aeeaan opened this issue · comments

There may be trouble building on modern systems as a result. Ubuntu 22.04, for example. It's my understanding that libswresample is supposed to be used now.

In my pull request, I updated a lot of deprecated ffmpeg functions but it was never merged to the main branch. Maybe it will help you to compile it under Ubuntu.

Ahh, I didn't review the pull requests, just the issues. I tried ubuntu 20.04 which still has libavresample, but ran into an unrelated compilation error on a line that was 5 or 8 years old. Something about attempting to instantiate an alsa driver class that is an abstract class. Off topic for this thread, I decided to stop opening tickets unless I see some code updates. I figure there's a good chance existing problems have already been solved by Linn internally.

Thanks for the suggestion!