Search
j0ke.net Open Build Service
>
Projects
>
multimedia
>
faad2
> faad2-main_overflow.diff
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File faad2-main_overflow.diff of Package faad2 (Revision 7)
Currently displaying revision
7
,
show latest
diff -ur faad2.orig/frontend/main.c faad2/frontend/main.c --- faad2.orig/frontend/main.c 2007-11-01 13:33:29.000000000 +0100 +++ faad2/frontend/main.c 2008-09-20 10:05:59.000000000 +0200 @@ -914,6 +914,8 @@ sample_count = frameInfo.samples; } else { sample_count = (unsigned int)(dur * frameInfo.channels); + if (sample_count > frameInfo.samples) + sample_count = frameInfo.samples; if (!useAacLength && !initial && (sampleId < numSamples/2) && (sample_count != frameInfo.samples)) { Nur in faad2/frontend: main.c~.