提交 c2b2f49c authored 作者: Seven Du's avatar Seven Du

FS-11189 use AV_INPUT_BUFFER_PADDING_SIZE instead of FF_INPUT_BUFFER_PADDING_SIZE in newer ffmpeg

上级 50dcc7a4
...@@ -195,7 +195,11 @@ typedef struct h264_codec_context_s { ...@@ -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
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论