MP4Info 0.3.2 → 0.3.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,15 @@
1
+ Index: mp4info.rb
2
+ ===================================================================
3
+ --- mp4info.rb (revision 41)
4
+ +++ mp4info.rb (working copy)
5
+ @@ -185,6 +185,10 @@
6
+ data = read_or_raise(io_stream, size, "Premature end of file")
7
+
8
+ cache = Tempfile.new "mp4info"
9
+ +
10
+ + # required for Windows
11
+ + cache.binmode
12
+ +
13
+ cache.write data
14
+ cache.open
15
+ cache.rewind
@@ -185,6 +185,10 @@ class MP4Info
185
185
  data = read_or_raise(io_stream, size, "Premature end of file")
186
186
 
187
187
  cache = Tempfile.new "mp4info"
188
+
189
+ # required for Windows
190
+ cache.binmode
191
+
188
192
  cache.write data
189
193
  cache.open
190
194
  cache.rewind
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: MP4Info
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Terk
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-04-16 00:00:00 -04:00
12
+ date: 2008-08-23 00:00:00 -04:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
@@ -23,6 +23,7 @@ extra_rdoc_files:
23
23
  - README
24
24
  files:
25
25
  - docs/license.txt
26
+ - lib/mp4info-windows-binmode.patch
26
27
  - lib/mp4info.rb
27
28
  - test/clink.wav
28
29
  - test/faac.m4a