]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/libfaac.c
avcodec/flashsvenc: Correct max dimension in error message
[ffmpeg] / libavcodec / libfaac.c
index 3d8a354d9044c743d1291450c9a5e62bd2ccf969..98b3ba81830b606de3f7b1365018c87ee69e8120 100644 (file)
@@ -138,7 +138,7 @@ static av_cold int Faac_encode_init(AVCodecContext *avctx)
 
         if (!faacEncGetDecoderSpecificInfo(s->faac_handle, &buffer,
                                            &decoder_specific_info_size)) {
-            avctx->extradata = av_malloc(decoder_specific_info_size + FF_INPUT_BUFFER_PADDING_SIZE);
+            avctx->extradata = av_malloc(decoder_specific_info_size + AV_INPUT_BUFFER_PADDING_SIZE);
             if (!avctx->extradata) {
                 ret = AVERROR(ENOMEM);
                 goto error;