]> git.sesse.net Git - ffmpeg/blobdiff - libavutil/fifo.h
avutil/file_open: Use av_mallocz_array()
[ffmpeg] / libavutil / fifo.h
index 849b9a6b813e16cafbfad334c940a5ef9b3ca0af..fe7364f427e1d7f940eed711f95bf0163c20fee9 100644 (file)
@@ -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.