OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
648c796
)
applehttp: Change the variable for stream position in seconds into int64_t
author
Martin Storsjö
<martin@martin.st>
Mon, 21 Mar 2011 10:20:18 +0000
(12:20 +0200)
committer
Luca Barbato
<lu_zero@gentoo.org>
Mon, 21 Mar 2011 19:16:53 +0000
(20:16 +0100)
A similar variable for the total stream duration was changed to
int64_t in
b79c3df08807c96a945
, due to overflows in some odd
streams.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
libavformat/applehttp.c
patch
|
blob
|
history
diff --git
a/libavformat/applehttp.c
b/libavformat/applehttp.c
index
af67b28
..
56fb795
100644
(file)
--- a/
libavformat/applehttp.c
+++ b/
libavformat/applehttp.c
@@
-496,7
+496,8
@@
static int applehttp_read_seek(AVFormatContext *s, int stream_index,
int64_t timestamp, int flags)
{
AppleHTTPContext *c = s->priv_data;
- int pos = 0, i;
+ int64_t pos = 0;
+ int i;
struct variant *var = c->variants[0];
if ((flags & AVSEEK_FLAG_BYTE) || !c->finished)