Commit 8d39d67a authored by Denes Balatoni's avatar Denes Balatoni Committed by Baptiste Coudurier

vorbis 5:1 decoding fix, fix mi2_vorbis51.mp4, patch by Denes Balatoni...

vorbis 5:1 decoding fix, fix mi2_vorbis51.mp4, patch by Denes Balatoni <dbalatoni at programozo dot hu>

Originally committed as revision 5349 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 1dd509b1
...@@ -1357,7 +1357,9 @@ static int vorbis_residue_decode(vorbis_context *vc, vorbis_residue *vr, uint_fa ...@@ -1357,7 +1357,9 @@ static int vorbis_residue_decode(vorbis_context *vc, vorbis_residue *vr, uint_fa
uint_fast32_t temp2; uint_fast32_t temp2;
temp2=(((uint_fast64_t)temp) * inverse[vr->classifications])>>32; temp2=(((uint_fast64_t)temp) * inverse[vr->classifications])>>32;
if (partition_count+c_p_c-1-i < ptns_to_read) {
classifs[j_times_ptns_to_read+partition_count+c_p_c-1-i]=temp-temp2*vr->classifications; classifs[j_times_ptns_to_read+partition_count+c_p_c-1-i]=temp-temp2*vr->classifications;
}
temp=temp2; temp=temp2;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment