This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
Fix demuxing of wav files with broken data header
Originally committed as revision 21746 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.6
Daniel Verkamp
15 years ago
parent
40938d9382
commit
b7e0f88f2b
1 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
libavformat/wav.c
+ 3
- 0
libavformat/wav.c
View File
@@ -227,6 +227,9 @@ static int wav_read_header(AVFormatContext *s,
size = data_size;
if (size < 0)
return -1;
if (!size) {
wav->data_end = INT64_MAX;
} else
wav->data_end= url_ftell(pb) + size;
return 0;
}
Write
Preview
Loading…
Cancel
Save