aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/audiointerleave.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/audiointerleave.c
parent60f75ad2458e3613b99e771be8514ca7165284d0 (diff)
downloadffmpeg-3898eed890f660d15d314964f7cbbbada3201e54.tar.gz
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/audiointerleave.c')
-rw-r--r--libavformat/audiointerleave.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/audiointerleave.c b/libavformat/audiointerleave.c
index 11f0093d55..a3a6531348 100644
--- a/libavformat/audiointerleave.c
+++ b/libavformat/audiointerleave.c
@@ -80,7 +80,7 @@ static int ff_interleave_new_audio_packet(AVFormatContext *s, AVPacket *pkt,
return 0;
av_new_packet(pkt, size);
- av_fifo_generic_read(aic->fifo, size, NULL, pkt->data);
+ av_fifo_generic_read(aic->fifo, pkt->data, size, NULL);
pkt->dts = pkt->pts = aic->dts;
pkt->duration = av_rescale_q(*aic->samples, st->time_base, aic->time_base);