forked from andygrundman/Audio-Scan
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The file parser had problems seeking in files with "large" ogg pages. RFC 3533 says: Pages are of variable size, usually 4-8 kB, maximum 65307 bytes. If ogg pages were larger than 9 kB the parser would fail. Ogg and Opus files that I've encoded recently seem to use page sizes ~10-12 kB.
- Loading branch information
Showing
8 changed files
with
136 additions
and
124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,13 +4,14 @@ use ExtUtils::MakeMaker qw(WriteMakefile); | |
use File::Spec::Functions; | ||
use Getopt::Long; | ||
|
||
my (@INC, @LIBS); | ||
my (@CCFLAGS, @INC, @LIBS); | ||
|
||
push @INC, '-Iinclude', '-Isrc'; | ||
if( $^O eq 'MSWin32' ) { | ||
push @LIBS, '-Lwin32/ -lzlib'; | ||
} | ||
else { | ||
push @CCFLAGS, '-Wdeclaration-after-statement'; | ||
push @LIBS, '-lz'; | ||
} | ||
|
||
|
@@ -23,6 +24,7 @@ WriteMakefile( | |
PREREQ_PM => { 'Test::Warn' => 0 }, | ||
ABSTRACT_FROM => 'lib/Audio/Scan.pm', | ||
AUTHOR => 'Andy Grundman <[email protected]>', | ||
CCFLAGS => "$Config::Config{ccflags} " . join(' ', @CCFLAGS), | ||
INC => join(' ', @INC), | ||
LIBS => [ join(' ', @LIBS) ], | ||
depend => { 'Scan.c' => "$inc_files $src_files" }, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.