--- libavcodec/vorbis_dec.c.orig 2011-03-05 00:44:26.000000000 +0100 +++ libavcodec/vorbis_dec.c 2011-03-05 00:45:47.000000000 +0100 @@ -1468,7 +1468,7 @@ static int vorbis_parse_audio_packet(vor uint_fast8_t ch=0; for(j=0;j<vc->audio_channels;++j) { - if ((mapping->submaps==1) || (i=mapping->mux[j])) { + if ((mapping->submaps==1) || (i==mapping->mux[j])) { res_chan[j]=res_num; if (no_residue[j]) { do_not_decode[ch]=1;