]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/libx265.c
Merge commit '98c9ade9853a9c413534ef243174d65f3f7506fa'
[ffmpeg] / libavcodec / libx265.c
index f4f0548c51d85b5def132365f8f87964a464daee..a15ef1a95cb08c95463e9ed21fa7181e6fccb925 100644 (file)
@@ -225,7 +225,7 @@ static av_cold int libx265_encode_init(AVCodecContext *avctx)
             return AVERROR_INVALIDDATA;
         }
 
-        avctx->extradata = av_malloc(avctx->extradata_size + FF_INPUT_BUFFER_PADDING_SIZE);
+        avctx->extradata = av_malloc(avctx->extradata_size + AV_INPUT_BUFFER_PADDING_SIZE);
         if (!avctx->extradata) {
             av_log(avctx, AV_LOG_ERROR,
                    "Cannot allocate HEVC header of size %d.\n", avctx->extradata_size);