Project

General

Profile

Actions

Bug #2550

open

cant compile vdr-softhddevice against ffmpeg 3.3.6

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

Status:
New
Priority:
Normal
Assignee:
-
Start date:
02/13/2018
Due date:
% Done:

0%

Estimated time:

Description

softhddev.c:580:49: error: 'FF_INPUT_BUFFER_PADDING_SIZE' undeclared (first use in this function); did you mean 'AV_INPUT_BUFFER_PADDING_SIZE'?
     pesdx->Buffer = av_malloc(PES_MAX_PAYLOAD + FF_INPUT_BUFFER_PADDING_SIZE);
                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                 AV_INPUT_BUFFER_PADDING_SIZE
softhddev.c:580:49: note: each undeclared identifier is reported only once for each function it appears in
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:
/usr/include/ffmpeg/libavcodec/avcodec.h:4358:6: note: declared here
 void av_free_packet(AVPacket *pkt);
      ^~~~~~~~~~~~~~
softhddev.c: In function 'VideoNextPacket':
softhddev.c:1504:50: error: 'FF_INPUT_BUFFER_PADDING_SIZE' undeclared (first use in this function); did you mean 'AV_INPUT_BUFFER_PADDING_SIZE'?
     memset(avpkt->data + avpkt->stream_index, 0, FF_INPUT_BUFFER_PADDING_SIZE);
                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                  AV_INPUT_BUFFER_PADDING_SIZE
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:
/usr/include/ffmpeg/libavcodec/avcodec.h:4358: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:
/usr/include/ffmpeg/libavcodec/avcodec.h:4358:6: note: declared here
 void av_free_packet(AVPacket *pkt);
      ^~~~~~~~~~~~~~
{standard input}: Assembler messages:
{standard input}: Error: .size expression for softhddev.c does not evaluate to a constant
make: *** [<builtin>: softhddev.o] Error 1
ffmpeg -version

ffmpeg version 3.3.6 Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 7 (GCC)
gcc --version

gcc (GCC) 7.3.1 20180130 (Red Hat 7.3.1-2)
Actions

Also available in: Atom PDF