blob: 49eb1aaab62d224012baa482d76f875d317ea5df (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
Fix no sound issue with >=media-libs/libvorbis-1.2.0
diff -ruN v_1_0.orig/src/ldp-out/ldp-vldp-audio.cpp v_1_0/src/ldp-out/ldp-vldp-audio.cpp
--- v_1_0.orig/src/ldp-out/ldp-vldp-audio.cpp 2008-01-29 18:04:07.000000000 +0100
+++ v_1_0/src/ldp-out/ldp-vldp-audio.cpp 2008-09-19 13:43:10.000000000 +0200
@@ -146,7 +146,7 @@
switch (whence)
{
case SEEK_SET:
- if (offset < g_audio_filesize)
+ if (offset <= g_audio_filesize)
{
// make sure offset is positive so we don't get into trouble
if (offset >= 0)
|