Michael Niedermayer
|
eb19d89d8e
|
cache: check lseek() return
Fixes CID717496
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
12 years ago |
Derek Buitenhuis
|
af2a17c09a
|
cache: Only include unistd.h if it exists
This follows suite from f3be359707 .
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
13 years ago |
Michael Niedermayer
|
e81e0b9991
|
cache: fix "warning: passing argument 2 of ‘av_tempfile’ from incompatible pointer type"
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
13 years ago |
Jean First
|
576ada791a
|
cache: use av_freep instead of av_free in cache_open
Signed-off-by: Jean First <jeanfirst@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
13 years ago |
Jean First
|
3ceb4c907e
|
cache: remove unused variable in cache_open
Signed-off-by: Jean First <jeanfirst@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
13 years ago |
Michael Niedermayer
|
74dbb5388e
|
av_tempfile: Pass int log_offset, void *log_ctx
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
13 years ago |
Michael Niedermayer
|
9329d36a3a
|
cache: add todo list
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
13 years ago |
Michael Niedermayer
|
02b651a7e3
|
cache: Fallback to using the cache size for AVSEEK_SIZE if the underlaying protocol has nothing better.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
13 years ago |
Michael Niedermayer
|
e9f62a8b2b
|
add cache protocol
This allows backward seeking on top of some non seekable streams.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
13 years ago |