From 3898eed890f660d15d314964f7cbbbada3201e54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reimar=20D=C3=B6ffinger?= Date: Mon, 9 Mar 2009 17:47:47 +0000 Subject: Reorder arguments for av_fifo_generic_read to be more logical and consistent with av_fifo_generic_write. Originally committed as revision 17914 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/mpegenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/mpegenc.c') diff --git a/libavformat/mpegenc.c b/libavformat/mpegenc.c index 91cfa69bef..5b949feea1 100644 --- a/libavformat/mpegenc.c +++ b/libavformat/mpegenc.c @@ -914,7 +914,7 @@ static int flush_packet(AVFormatContext *ctx, int stream_index, /* output data */ assert(payload_size - stuffing_size <= av_fifo_size(stream->fifo)); - av_fifo_generic_read(stream->fifo, payload_size - stuffing_size, &put_buffer, ctx->pb); + av_fifo_generic_read(stream->fifo, ctx->pb, payload_size - stuffing_size, &put_buffer); stream->bytes_to_iframe -= payload_size - stuffing_size; }else{ payload_size= -- cgit v1.2.3