JackOfAll wrote:
> Ralphy, squeezelite patch attached if you haven't already dealt with
> those pesky compiler warnings, due to ffmpeg deprecation of alloc/free
> functions.... (I hate compiler warnings!!!!)
>
> I have a few more patches to follow, more contentious than this, as they
> are functional rather than cosmetic. This ones a no-brainer if you
> haven't already dealt with it yourself.
>
> 20234
Some of the warning we had fixed. However I reverted the changes and
applied yours, in the hopes it would simplify applying the additional
patches to follow.
Your changes for ffmpeg.c still produce 2 warnings when compiled against
ffmpeg 3.01.
Code:
--------------------
ffmpeg.c: In function 'ff_decode':
ffmpeg.c:518:2: warning: 'av_free_packet' is deprecated (declared at
./include/libavcodec/avcodec.h:4040) [-Wdeprecated-declarations]
ffmpeg.c: In function '_free_ff_data':
ffmpeg.c:551:3: warning: 'av_free_packet' is deprecated (declared at
./include/libavcodec/avcodec.h:4040) [-Wdeprecated-declarations]
--------------------
Here's a patch to fix those. However, it doesn't check the library
version.
+-------------------------------------------------------------------+
|Filename: ffmpeg3.patch |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=20240|
+-------------------------------------------------------------------+
Ralphy
*1*-Touch, *5*-Classics, *2*-Booms, *1*-Reverted UE Radio
'Squeezebox client builds'
(https://www.mediafire.com/folder/4q8dvq20iyz9e/Builds) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezebox%20client%20builds¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=97046
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix