From d6649b2a58923701d2316fd4c601453218672978 Mon Sep 17 00:00:00 2001 From: Aurelien Jacobs Date: Wed, 30 May 2007 09:50:35 +0000 Subject: use FFSWAP() Originally committed as revision 9158 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/rmdec.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'libavformat/rmdec.c') diff --git a/libavformat/rmdec.c b/libavformat/rmdec.c index f7f69fea00..8ac86d7727 100644 --- a/libavformat/rmdec.c +++ b/libavformat/rmdec.c @@ -442,7 +442,7 @@ static int rm_read_packet(AVFormatContext *s, AVPacket *pkt) RMContext *rm = s->priv_data; ByteIOContext *pb = &s->pb; AVStream *st; - int i, len, tmp, j; + int i, len, j; int64_t timestamp, pos; uint8_t *ptr; int flags; @@ -610,9 +610,7 @@ resync: if (st->codec->codec_id == CODEC_ID_AC3) { ptr = pkt->data; for(j=0;j