mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-11 20:17:05 +00:00
FS-11189 use AV_INPUT_BUFFER_PADDING_SIZE instead of FF_INPUT_BUFFER_PADDING_SIZE in newer ffmpeg
This commit is contained in:
1 parent
50dcc7a422
commit
c2b2f49c1d
1 file changed
+5
-1
@@ -195,7 +195,11 @@ typedef struct h264_codec_context_s {
|
|||||||
int hw_encoder;
|
int hw_encoder;
|
||||||
} h264_codec_context_t;
|
} h264_codec_context_t;
|
||||||
|
|
||||||
static uint8_t ff_input_buffer_padding[FF_INPUT_BUFFER_PADDING_SIZE] = { 0 };
|
#ifndef AV_INPUT_BUFFER_PADDING_SIZE
|
||||||
|
#define AV_INPUT_BUFFER_PADDING_SIZE FF_INPUT_BUFFER_PADDING_SIZE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
static uint8_t ff_input_buffer_padding[AV_INPUT_BUFFER_PADDING_SIZE] = { 0 };
|
||||||
|
|
||||||
#define MAX_CODECS 4
|
#define MAX_CODECS 4
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user