Mercurial > libavutil.hg
comparison fifo.h @ 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 | 0b84593767d8 |
children | 8c48a1b999a3 |
comparison
equal
deleted
inserted
replaced
622:2ff7ac1e95dd | 623:5a8d0e6cdcfb |
---|---|
70 * @param *func generic read function | 70 * @param *func generic read function |
71 * @param *dest data destination | 71 * @param *dest data destination |
72 */ | 72 */ |
73 int av_fifo_generic_read(AVFifoBuffer *f, int buf_size, void (*func)(void*, void*, int), void* dest); | 73 int av_fifo_generic_read(AVFifoBuffer *f, int buf_size, void (*func)(void*, void*, int), void* dest); |
74 | 74 |
75 #if LIBAVUTIL_VERSION_MAJOR < 50 | |
75 /** | 76 /** |
76 * Writes data into an AVFifoBuffer. | 77 * Writes data into an AVFifoBuffer. |
77 * @param *f AVFifoBuffer to write to | 78 * @param *f AVFifoBuffer to write to |
78 * @param *buf data source | 79 * @param *buf data source |
79 * @param size data size | 80 * @param size data size |
80 */ | 81 */ |
81 attribute_deprecated void av_fifo_write(AVFifoBuffer *f, const uint8_t *buf, int size); | 82 attribute_deprecated void av_fifo_write(AVFifoBuffer *f, const uint8_t *buf, int size); |
83 #endif | |
82 | 84 |
83 /** | 85 /** |
84 * Feeds data from a user supplied callback to an AVFifoBuffer. | 86 * Feeds data from a user supplied callback to an AVFifoBuffer. |
85 * @param *f AVFifoBuffer to write to | 87 * @param *f AVFifoBuffer to write to |
86 * @param *src data source | 88 * @param *src data source |