Mercurial > libavformat.hg
diff mpegenc.c @ 4689:fc0a165de804 libavformat
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 | d6eb19c43e99 |
children | 7aa7c5853bb6 |
line wrap: on
line diff
--- a/mpegenc.c Mon Mar 09 13:08:19 2009 +0000 +++ b/mpegenc.c Mon Mar 09 17:47:47 2009 +0000 @@ -914,7 +914,7 @@ /* 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=