mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 15:02:43 +02:00
patch for sh4 and actual ffmpeg versions (thx DBoxOldie)
Origin commit data
------------------
Branch: master
Commit: e8f7fd7a59
Author: BPanther <bpanther_ts@hotmail.com>
Date: 2020-02-04 (Tue, 04 Feb 2020)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -37,6 +37,26 @@ extern "C" {
|
||||
|
||||
#define AV_CODEC_ID_INJECTPCM AV_CODEC_ID_PCM_S16LE
|
||||
|
||||
/* wrapper */
|
||||
#if (LIBAVFORMAT_VERSION_INT > AV_VERSION_INT( 57,25,100 ))
|
||||
static AVCodecParameters __attribute__ ((unused)) *get_codecpar(AVStream *stream)
|
||||
{
|
||||
return stream->codecpar;
|
||||
}
|
||||
#else
|
||||
static AVCodecContext __attribute__ ((unused)) *get_codecpar(AVStream *stream)
|
||||
{
|
||||
return stream->codec;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if (LIBAVCODEC_VERSION_MAJOR > 55)
|
||||
#define av_free_packet av_packet_unref
|
||||
#else
|
||||
#define av_packet_unref av_free_packet
|
||||
#endif
|
||||
/* end wrapper */
|
||||
|
||||
class Player;
|
||||
|
||||
class Writer
|
||||
|
Reference in New Issue
Block a user