diff options
author | Heinz Wiesinger <pprkut@slackbuilds.org> | 2010-05-11 20:30:46 +0200 |
---|---|---|
committer | Heinz Wiesinger <pprkut@slackbuilds.org> | 2010-05-11 20:30:46 +0200 |
commit | 26ce3ee27cee62015c5e2bd6b4ef52154929288b (patch) | |
tree | b388d491b0672e2a1fd586da2f755a3156f670c0 /audio/faad2/main_overflow.diff | |
parent | 9adfba095e2fffc220d9b21acca1a419ab760804 (diff) | |
download | slackbuilds-26ce3ee27cee62015c5e2bd6b4ef52154929288b.tar.gz |
audio/faad2: Moved from multimedia
Diffstat (limited to 'audio/faad2/main_overflow.diff')
-rw-r--r-- | audio/faad2/main_overflow.diff | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/audio/faad2/main_overflow.diff b/audio/faad2/main_overflow.diff new file mode 100644 index 0000000000..b501cd0048 --- /dev/null +++ b/audio/faad2/main_overflow.diff @@ -0,0 +1,11 @@ +--- faad2/frontend/main.c.orig 2007-11-01 13:33:29.000000000 +0100 ++++ faad2/frontend/main.c 2008-10-02 00:13:21.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)) + { |