summaryrefslogtreecommitdiff
path: root/libavformat/swfenc.c
diff options
context:
space:
mode:
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 */