Opened 4 years ago

Closed 4 years ago

#29 closed defect (fixed)

compilation fails with libavcodec version 52

Reported by: cavedon Owned by: vadim
Priority: major Milestone:
Component: phapi Version:
Keywords: Cc:

Description

wifo/phapi/phcodec-avcodec-wrapper.c: In function 'phcodec_avcodec_encoder_init':
wifo/phapi/phcodec-avcodec-wrapper.c:126: error: 'AVCodecContext' has no member named 'rtp_mode'

This happens becuase API was changed. See attached patch for compilation fix.

Attachments (2)

ffmpeg-api-52.patch (706 bytes) - added by cavedon 4 years ago.
qutecom_wifo_phapi.patch (597 bytes) - added by cavedon 4 years ago.
better patch from Andreas

Download all attachments as: .zip

Change History (4)

Changed 4 years ago by cavedon

Changed 4 years ago by cavedon

better patch from Andreas

comment:1 Changed 4 years ago by cavedon

Use the second patch.
Andreas Schneider wrote:

Remove the line completely, cause rtp_mode isn't even used in the internal version of ffmpeg.

comment:2 Changed 4 years ago by vadim

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.