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; }