Mercurial > libavformat.hg
diff swfenc.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/swfenc.c Mon Mar 09 13:08:19 2009 +0000 +++ b/swfenc.c Mon Mar 09 17:47:47 2009 +0000 @@ -419,7 +419,7 @@ put_swf_tag(s, TAG_STREAMBLOCK | TAG_LONG); put_le16(pb, swf->sound_samples); put_le16(pb, 0); // seek samples - av_fifo_generic_read(swf->audio_fifo, frame_size, &put_buffer, pb); + av_fifo_generic_read(swf->audio_fifo, pb, frame_size, &put_buffer); put_swf_end_tag(s); /* update FIFO */