Update of /cvsroot/xine/xine-lib/src/demuxers
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv11338/src/demuxers
Modified Files:
demux_iff.c
Log Message:
Fixed duplicate and nonspecified postincrement due to macro call.
Index: demux_iff.c
===================================================================
RCS file: /cvsroot/xine/xine-lib/src/demuxers/demux_iff.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- demux_iff.c 10 Jul 2006 22:08:13 -0000 1.17
+++ demux_iff.c 8 Dec 2006 16:19:17 -0000 1.18
@@ -827,7 +827,8 @@
}
} else {
for (j = 0, k = (interleave_index / 2); j < (buf->size / 2); j
+= this->audio_channels) {
- zw_16 = BE_16(&pointer16_from[k++]);
+ zw_16 = BE_16(&pointer16_from[k]);
+ k++;
zw_rescale = zw_16;
zw_rescale *= this->audio_volume_left;
zw_rescale /= max_volume;
@@ -856,7 +857,8 @@
}
} else {
for (j = 1; j < (buf->size / 2); j += this->audio_channels) {
- zw_16 = BE_16(&pointer16_from[k++]);
+ zw_16 = BE_16(&pointer16_from[k]);
+ k++;
zw_rescale = zw_16;
zw_rescale *= this->audio_volume_left;
zw_rescale /= max_volume;
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Xine-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xine-cvslog