diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2009-03-09 17:47:47 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2009-03-09 17:47:47 +0000 |
commit | 3898eed890f660d15d314964f7cbbbada3201e54 (patch) | |
tree | b98a1f40748de91eeb28040c0e6570581d2ee740 /libavformat/mpegenc.c | |
parent | 60f75ad2458e3613b99e771be8514ca7165284d0 (diff) | |
download | ffmpeg-3898eed890f660d15d314964f7cbbbada3201e54.tar.gz |
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
Diffstat (limited to 'libavformat/mpegenc.c')
-rw-r--r-- | libavformat/mpegenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
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= |