mirror of
https://git.freebsd.org/ports.git
synced 2025-07-14 15:59:18 -04:00
18 lines
507 B
Python
18 lines
507 B
Python
|
|
$FreeBSD$
|
|
|
|
--- video/vcdinfo.py.orig Thu Jun 10 20:58:51 2004
|
|
+++ video/vcdinfo.py Thu Jun 10 20:59:19 2004
|
|
@@ -85,9 +85,9 @@
|
|
|
|
# brute force reading of the bin to find out if it is a VCD
|
|
f = open(bin,'rb')
|
|
- f.seek(32808, 0)
|
|
- buffer = f.read(50000)
|
|
- f.close()
|
|
+ f.seek(32768, 0)
|
|
+ buffer = f.read(50040)
|
|
+ f.close()
|
|
|
|
if buffer.find('SVCD') > 0 and buffer.find('TRACKS.SVD') > 0 and \
|
|
buffer.find('ENTRIES.SVD') > 0:
|