diff fifo.c @ 623:5a8d0e6cdcfb libavutil

Drop deprecated av_fifo_write function with the next libavutil version bump.
author diego
date Sun, 25 Jan 2009 19:22:47 +0000
parents 34198f8250cf
children 8c48a1b999a3
line wrap: on
line diff
--- a/fifo.c	Sun Jan 25 19:18:56 2009 +0000
+++ b/fifo.c	Sun Jan 25 19:22:47 2009 +0000
@@ -74,10 +74,12 @@
     return 0;
 }
 
+#if LIBAVUTIL_VERSION_MAJOR < 50
 void av_fifo_write(AVFifoBuffer *f, const uint8_t *buf, int size)
 {
     av_fifo_generic_write(f, (void *)buf, size, NULL);
 }
+#endif
 
 int av_fifo_generic_write(AVFifoBuffer *f, void *src, int size, int (*func)(void*, void*, int))
 {