]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/flac_parser.c
configure: allow overriding ranlib
[ffmpeg] / libavcodec / flac_parser.c
index 6ff4d9c85ff3df7a14ed62b7e552f4f5d13e84ca..37b5fa9dba859951056e7a2e25e84d9c1f48c9b8 100644 (file)
@@ -612,7 +612,7 @@ static int flac_parse(AVCodecParserContext *s, AVCodecContext *avctx,
         if (   av_fifo_space(fpc->fifo_buf) < read_end - read_start
             && av_fifo_realloc2(fpc->fifo_buf, (read_end - read_start) + 2*av_fifo_size(fpc->fifo_buf)) < 0) {
             av_log(avctx, AV_LOG_ERROR,
-                   "couldn't reallocate buffer of size %td\n",
+                   "couldn't reallocate buffer of size %"PTRDIFF_SPECIFIER"\n",
                    (read_end - read_start) + av_fifo_size(fpc->fifo_buf));
             goto handle_error;
         }