mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
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
This commit is contained in:
parent
1dd509b157
commit
8d39d67a78
@ -1357,7 +1357,9 @@ static int vorbis_residue_decode(vorbis_context *vc, vorbis_residue *vr, uint_fa
|
||||
uint_fast32_t temp2;
|
||||
|
||||
temp2=(((uint_fast64_t)temp) * inverse[vr->classifications])>>32;
|
||||
classifs[j_times_ptns_to_read+partition_count+c_p_c-1-i]=temp-temp2*vr->classifications;
|
||||
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;
|
||||
}
|
||||
temp=temp2;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user