From fa3b98182d711f7735da6e820f90fbcf96cae4d7 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 25 May 2008 23:04:09 +0000 Subject: Ensure that one can store X bytes in a fifo of size X. Fixed issue417. Originally committed as revision 13405 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavutil/fifo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavutil/fifo.h') diff --git a/libavutil/fifo.h b/libavutil/fifo.h index f5fb144211..6533be921d 100644 --- a/libavutil/fifo.h +++ b/libavutil/fifo.h @@ -38,7 +38,7 @@ typedef struct AVFifoBuffer { * @param size of FIFO * @return <0 for failure >=0 otherwise */ -int av_fifo_init(AVFifoBuffer *f, int size); +int av_fifo_init(AVFifoBuffer *f, unsigned int size); /** * Frees an AVFifoBuffer. -- cgit v1.2.3