]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/shorten.c
dcadec: scan for extensions in a separate function
[ffmpeg] / libavcodec / shorten.c
index d3a82ca6157b3b15a9f71e6d29645a975164f78b..ce98a83dba1b6205067d6d3c1b2d6bf0c1e8089f 100644 (file)
@@ -431,7 +431,7 @@ static int shorten_decode_frame(AVCodecContext *avctx, void *data,
         void *tmp_ptr;
         s->max_framesize = 1024; // should hopefully be enough for the first header
         tmp_ptr = av_fast_realloc(s->bitstream, &s->allocated_bitstream_size,
-                                  s->max_framesize + FF_INPUT_BUFFER_PADDING_SIZE);
+                                  s->max_framesize + AV_INPUT_BUFFER_PADDING_SIZE);
         if (!tmp_ptr) {
             av_log(avctx, AV_LOG_ERROR, "error allocating bitstream buffer\n");
             return AVERROR(ENOMEM);