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
Ensure that there's pages to read for duration calculation in the ogg demuxer
Originally committed as revision 18523 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.6
David Conrad
17 years ago
parent
99cc7f8a02
commit
ddd94932fb
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavformat/oggdec.c
+ 1
- 1
libavformat/oggdec.c
View File
@@ -450,7 +450,7 @@ ogg_get_length (AVFormatContext * s)
size = url_fsize(s->pb);
if(size < 0)
return 0;
end = size > MAX_PAGE_SIZE? size - MAX_PAGE_SIZE:
size
;
end = size > MAX_PAGE_SIZE? size - MAX_PAGE_SIZE:
0
;
ogg_save (s);
url_fseek (s->pb, end, SEEK_SET);
Write
Preview
Loading…
Cancel
Save