Project

General

Profile

Actions

Bug #2424

open

compilations fails on Fedora 24 with ffmpeg-3.0.2

Added by marco almost 8 years ago. Updated almost 8 years ago.

Status:
New
Priority:
Normal
Assignee:
Start date:
06/28/2016
Due date:
% Done:

0%

Estimated time:

Description

error messages when compiling the recent vdr-softhddevice version on Fedora 24:

gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -I/usr/include/alsa    -I/usr/include/libdrm  -I/usr/include/ffmpeg -I/usr/include/ffmpeg -DPLUGIN_NAME_I18N='"softhddevice"' -D_GNU_SOURCE  -DAV_INFO -DAV_INFO_TIME=3000     -DUSE_PIP         -DUSE_MPEG_COMPLETE         -DH264_EOS_TRICKSPEED         -DUSE_VDR_SPU             -DUSE_ALSA -DUSE_OSS -DUSE_VDPAU -DUSE_VAAPI -DUSE_GLX -DUSE_SCREENSAVER -DUSE_SWRESAMPLE   -g -W -Wall -Wextra -Winit-self -Wdeclaration-after-statement   -c -o video.o video.c
softhddev.c: In function 'VideoPacketExit':
softhddev.c:1406:2: warning: 'av_free_packet' is deprecated [-Wdeprecated-declarations]
  av_free_packet(&stream->PacketRb[i]);
  ^~~~~~~~~~~~~~
In file included from softhddev.c:45:0:
/usr/include/ffmpeg/libavcodec/avcodec.h:4040:6: note: declared here
 void av_free_packet(AVPacket *pkt);
      ^~~~~~~~~~~~~~
softhddev.c: In function 'SoftHdDeviceExit':
softhddev.c:3139:5: warning: 'av_free_packet' is deprecated [-Wdeprecated-declarations]
     av_free_packet(AudioAvPkt);
     ^~~~~~~~~~~~~~
In file included from softhddev.c:45:0:
/usr/include/ffmpeg/libavcodec/avcodec.h:4040:6: note: declared here
 void av_free_packet(AVPacket *pkt);
      ^~~~~~~~~~~~~~
softhddev.c: In function 'Suspend':
softhddev.c:3333:2: warning: 'av_free_packet' is deprecated [-Wdeprecated-declarations]
  av_free_packet(AudioAvPkt);
  ^~~~~~~~~~~~~~
In file included from softhddev.c:45:0:
/usr/include/ffmpeg/libavcodec/avcodec.h:4040:6: note: declared here
 void av_free_packet(AVPacket *pkt);
      ^~~~~~~~~~~~~~

vdr-softhddevice compiles fine with the attached patch.


Files

ffmpeg_2.9.patch (20.7 KB) ffmpeg_2.9.patch marco, 06/28/2016 11:24 AM
Actions #1

Updated by xxx110e almost 8 years ago

marco wrote:

error messages when compiling the recent vdr-softhddevice version on Fedora 24:

[...]

vdr-softhddevice compiles fine with the attached patch.

Does ffmpeg patch this your patch file or softhddevice?
If ffmpeg need patch file, how can I patch ffmpeg patch? Need I clone git ffmpeg and patch then compile it or I can patch ffmpeg installed from official repository arch Linux?

Actions

Also available in: Atom PDF