summaryrefslogtreecommitdiffstats
path: root/common/av_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/av_common.c')
-rw-r--r--common/av_common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/av_common.c b/common/av_common.c
index aa1a1bfdf2..5c58f3fea8 100644
--- a/common/av_common.c
+++ b/common/av_common.c
@@ -42,7 +42,7 @@ int mp_lavc_set_extradata(AVCodecContext *avctx, void *ptr, int size)
if (size) {
av_free(avctx->extradata);
avctx->extradata_size = 0;
- avctx->extradata = av_mallocz(size + FF_INPUT_BUFFER_PADDING_SIZE);
+ avctx->extradata = av_mallocz(size + AV_INPUT_BUFFER_PADDING_SIZE);
if (!avctx->extradata)
return -1;
avctx->extradata_size = size;
@@ -79,7 +79,7 @@ AVCodecParameters *mp_codec_params_to_av(struct mp_codec_params *c)
avp->codec_tag = c->codec_tag;
if (c->extradata_size) {
avp->extradata =
- av_mallocz(c->extradata_size + FF_INPUT_BUFFER_PADDING_SIZE);
+ av_mallocz(c->extradata_size + AV_INPUT_BUFFER_PADDING_SIZE);
if (!avp->extradata)
goto error;
avp->extradata_size = c->extradata_size;