summaryrefslogtreecommitdiff
path: root/libavutil/fifo.h
diff options
context:
space:
mode:
authorLukasz Marek <lukasz.m.luki2@gmail.com>2014-05-04 22:03:46 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-05-05 17:32:24 +0200
commit78d3453c4a2efef9bc079e8f3458653beafcf990 (patch)
treecb1871eaac3e9aedd159465f12bebc9a7750db16 /libavutil/fifo.h
parent47550e62bf717ed626b652bd3797fcae0ca8c335 (diff)
lavu/fifo: add const to arguments
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/fifo.h')
-rw-r--r--libavutil/fifo.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavutil/fifo.h b/libavutil/fifo.h
index 849b9a6b81..fe7364f427 100644
--- a/libavutil/fifo.h
+++ b/libavutil/fifo.h
@@ -59,7 +59,7 @@ void av_fifo_reset(AVFifoBuffer *f);
* @param f AVFifoBuffer to read from
* @return size
*/
-int av_fifo_size(AVFifoBuffer *f);
+int av_fifo_size(const AVFifoBuffer *f);
/**
* Return the amount of space in bytes in the AVFifoBuffer, that is the
@@ -67,7 +67,7 @@ int av_fifo_size(AVFifoBuffer *f);
* @param f AVFifoBuffer to write into
* @return size
*/
-int av_fifo_space(AVFifoBuffer *f);
+int av_fifo_space(const AVFifoBuffer *f);
/**
* Feed data from an AVFifoBuffer to a user-supplied callback.