ralphy wrote: > > Your changes for ffmpeg.c still produce 2 warnings when compiled against > ffmpeg 3.01.
LOL. I'm still using 2.x.x versions, so I haven't come across that yet. (I think I'm using a 2.1.8 on the Fedora 20 stuff I'm still maintaining and 2.8.6 on everything else.) ralphy wrote: > > > 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. OK. If I have time this afternoon, I'll go through ffmpeg changelog and see when those deprecations were introduced and put a version check in for them as well. ------------------------------------------------------------------------ JackOfAll's Profile: http://forums.slimdevices.com/member.php?userid=3069 View this thread: http://forums.slimdevices.com/showthread.php?t=97046 _______________________________________________ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix