aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/fifo.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-05-14 15:24:38 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-05-14 15:44:01 +0200
commitacb6f3af4fce240957b79a1e58cb0eb60db74ba6 (patch)
treeddad9f5a2bcb20da05961dbee5b4f1dc243a43c2 /libavutil/fifo.c
parent0fdc3cd86fddd690d1fd0ea9ddaa3b0ba3e0af68 (diff)
downloadffmpeg-acb6f3af4fce240957b79a1e58cb0eb60db74ba6.tar.gz
avutil/fifo: delay addition of const from 78d3453c4a2efef9bc079e8f3458653beafcf990 until next major ABI bump
This unbreaks API, for example audacity has more build errors due to this Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/fifo.c')
-rw-r--r--libavutil/fifo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavutil/fifo.c b/libavutil/fifo.c
index e35237c090..09ffa4fd26 100644
--- a/libavutil/fifo.c
+++ b/libavutil/fifo.c
@@ -59,12 +59,12 @@ void av_fifo_reset(AVFifoBuffer *f)
f->wndx = f->rndx = 0;
}
-int av_fifo_size(const AVFifoBuffer *f)
+int av_fifo_size(FF_CONST_AVUTIL53 AVFifoBuffer *f)
{
return (uint32_t)(f->wndx - f->rndx);
}
-int av_fifo_space(const AVFifoBuffer *f)
+int av_fifo_space(FF_CONST_AVUTIL53 AVFifoBuffer *f)
{
return f->end - f->buffer - av_fifo_size(f);
}