comparison fifo.h @ 691:4e9e0c52ed08 libavutil

Reorder arguments for av_fifo_generic_read to be more logical and consistent with av_fifo_generic_write.
author reimar
date Mon, 09 Mar 2009 17:47:47 +0000
parents 91216685a7ae
children 2f890bb12bbc
comparison
equal deleted inserted replaced
690:a2eb62aebb99 691:4e9e0c52ed08
66 * @param *f AVFifoBuffer to read from 66 * @param *f AVFifoBuffer to read from
67 * @param buf_size number of bytes to read 67 * @param buf_size number of bytes to read
68 * @param *func generic read function 68 * @param *func generic read function
69 * @param *dest data destination 69 * @param *dest data destination
70 */ 70 */
71 int av_fifo_generic_read(AVFifoBuffer *f, int buf_size, void (*func)(void*, void*, int), void* dest); 71 int av_fifo_generic_read(AVFifoBuffer *f, void *dest, int buf_size, void (*func)(void*, void*, int));
72 72
73 /** 73 /**
74 * Feeds data from a user-supplied callback to an AVFifoBuffer. 74 * Feeds data from a user-supplied callback to an AVFifoBuffer.
75 * @param *f AVFifoBuffer to write to 75 * @param *f AVFifoBuffer to write to
76 * @param *src data source 76 * @param *src data source