summaryrefslogtreecommitdiff
path: root/libavformat/swfenc.c
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2009-03-09 17:47:47 +0000
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2009-03-09 17:47:47 +0000
commit3898eed890f660d15d314964f7cbbbada3201e54 (patch)
treeb98a1f40748de91eeb28040c0e6570581d2ee740 /libavformat/swfenc.c
parent60f75ad2458e3613b99e771be8514ca7165284d0 (diff)
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/swfenc.c')
-rw-r--r--libavformat/swfenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/swfenc.c b/libavformat/swfenc.c
index 7ed8cc3553..8caf0d1007 100644
--- a/libavformat/swfenc.c
+++ b/libavformat/swfenc.c
@@ -419,7 +419,7 @@ static int swf_write_video(AVFormatContext *s,
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 */