diff --git a/libavcodec/vorbis_dec.c b/libavcodec/vorbis_dec.c index 25cfb31c86..532a060e7c 100644 --- a/libavcodec/vorbis_dec.c +++ b/libavcodec/vorbis_dec.c @@ -1484,7 +1484,7 @@ static int vorbis_parse_audio_packet(vorbis_context *vc) { uint_fast8_t ch=0; for(j=0;jaudio_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;