From 34174abf646fe35e05895c4fe6d0bd5b0489f223 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5ns=20Rullg=C3=A5rd?= Date: Sun, 8 Jul 2007 13:42:52 +0000 Subject: [PATCH] avoid uninitialised variable warning and clarify code Originally committed as revision 9543 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/rmdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/rmdec.c b/libavformat/rmdec.c index 7ce21e9af4..100d512adb 100644 --- a/libavformat/rmdec.c +++ b/libavformat/rmdec.c @@ -608,7 +608,7 @@ resync: /* for AC3, needs to swap bytes */ if (st->codec->codec_id == CODEC_ID_AC3) { ptr = pkt->data; - for(j=0;jsize;j+=2) { FFSWAP(int, ptr[0], ptr[1]); ptr += 2; }