Bug#1004821: libam7xxx: FTBFS with ffmpeg 5.0

2022-06-30 Thread Antonio Ospite
On Sat, 25 Jun 2022 13:04:46 +0300 Nicholas Guriev wrote: > This patch should help. Although, call to deprecated av_init_packet() > remains. > It is to be replaced with av_packet_alloc() / av_packet_free() logic. Thank you, Nicholas, this is a good first step. I'll try to find time this week-

Bug#1004821: libam7xxx: FTBFS with ffmpeg 5.0

2022-06-25 Thread Nicholas Guriev
This patch should help. Although, call to deprecated av_init_packet() remains. It is to be replaced with av_packet_alloc() / av_packet_free() logic.--- a/examples/am7xxx-play.c +++ b/examples/am7xxx-play.c @@ -29,6 +29,7 @@ #include #include +#include #include #include #include @@ -49