projects
/
libav.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Reorder arguments for av_fifo_generic_read to be more logical and
[libav.git]
/
libavformat
/
mpegenc.c
diff --git
a/libavformat/mpegenc.c
b/libavformat/mpegenc.c
index
91cfa69
..
5b949fe
100644
(file)
--- 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));
/* 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=
stream->bytes_to_iframe -= payload_size - stuffing_size;
}else{
payload_size=