mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-15 19:28:43 +12:00
Fix build with ffmpeg 4.0
This commit is contained in:
parent
8f4fa8a5b6
commit
633004c820
1 changed files with 5 additions and 2 deletions
|
@ -8,6 +8,9 @@ extern "C"
|
||||||
{
|
{
|
||||||
#include "libavcodec/avcodec.h"
|
#include "libavcodec/avcodec.h"
|
||||||
#include "libavformat/avformat.h"
|
#include "libavformat/avformat.h"
|
||||||
|
#ifndef AV_INPUT_BUFFER_PADDING_SIZE
|
||||||
|
#define AV_INPUT_BUFFER_PADDING_SIZE FF_INPUT_BUFFER_PADDING_SIZE
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
#include "cellPamf.h"
|
#include "cellPamf.h"
|
||||||
|
@ -229,8 +232,8 @@ public:
|
||||||
|
|
||||||
if (size)
|
if (size)
|
||||||
{
|
{
|
||||||
data = (u8*)av_calloc(1, size + FF_INPUT_BUFFER_PADDING_SIZE);
|
data = (u8*)av_calloc(1, size + AV_INPUT_BUFFER_PADDING_SIZE);
|
||||||
this->size = size + FF_INPUT_BUFFER_PADDING_SIZE;
|
this->size = size + AV_INPUT_BUFFER_PADDING_SIZE;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue