Bug 4688

Summary: FTBFS for F28 with ffmpeg-3.4 due to deprecated-declarations
Product: Fedora Reporter: leigh scott <leigh123linux>
Component: xpra-codecs-freeworldAssignee: T.C. Hollingsworth <tchollingsworth>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: P1    
Version: f27   
Hardware: x86_64   
OS: GNU/Linux   
namespace:

Description leigh scott 2017-10-18 00:04:41 CEST
https://koji.rpmfusion.org/koji/buildinfo?buildID=5442


xpra/codecs/dec_avcodec2/decoder.c:5553:3: error: 'refcounted_frames' is deprecated [-Werror=deprecated-declarations]
   __pyx_v_self->codec_ctx->refcounted_frames = 1;
   ^~~~~~~~~~~~
In file included from xpra/codecs/dec_avcodec2/decoder.c:566:0:
/usr/include/ffmpeg/libavcodec/avcodec.h:2694:9: note: declared here
     int refcounted_frames;
         ^~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
error: command 'gcc' failed with exit status 1
Comment 1 leigh scott 2017-10-27 13:45:49 CEST
Fixed by xpra-codecs-freeworld-2.1.3-1.fc28