summaryrefslogtreecommitdiff
path: root/libavformat/cache.c
Commit message (Collapse)AuthorAge
* cache: check lseek() returnMichael Niedermayer2012-10-18
| | | | | Fixes CID717496 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* cache: Only include unistd.h if it existsDerek Buitenhuis2012-09-07
| | | | | | | This follows suite from f3be3597079be7cd7adbb8392c32e408cadd3da2. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* cache: fix "warning: passing argument 2 of ‘av_tempfile’ from ↵Michael Niedermayer2012-02-06
| | | | | | incompatible pointer type" Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* cache: use av_freep instead of av_free in cache_openJean First2011-12-31
| | | | | Signed-off-by: Jean First <jeanfirst@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* cache: remove unused variable in cache_openJean First2011-12-31
| | | | | Signed-off-by: Jean First <jeanfirst@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-12-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (25 commits) rtpenc: Add support for G726 audio rtpdec: Interpret the different G726 names as bits_per_coded_sample rtpenc: Change rtp_send_samples to handle sample sizes other than even bytes rtpenc: Cast a rescaling parameter to int64_t h264: cap max has_b_frames at MAX_DELAYED_PIC_COUNT - 1. ARM: fix indentation in ff_dsputil_init_neon() ARM: NEON put/avg_pixels8/16 cosmetics ARM: add remaining NEON avg_pixels8/16 functions ARM: clean up NEON put/avg_pixels macros fate: split acodec-pcm into individual tests swscale: #include "libavutil/mathematics.h" pmpdec: don't use deprecated av_set_pts_info. rv34: align temporary block of "dct" coefs Add PlayStation Portable PMP format demuxer proto: Realign struct initializers proto: Use .priv_data_size to allocate the private context mmsh: Properly clean up if the second ffurl_alloc failed rtmp: Clean up properly if the handshake failed md5proto: Remove the get_file_handle function applehttpproto: Use the close function if the open function fails ... Conflicts: libavcodec/vble.c libavformat/mmsh.c libavformat/pmpdec.c libavformat/udp.c tests/ref/acodec/pcm Merged-by: Michael Niedermayer <michaelni@gmx.at>
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-11-14
| | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: lavf: pass options from AVFormatContext to avio. avformat: Use avio_open2, pass the AVFormatContext interrupt_callback onwards avio: add avio_open2, taking an interrupt callback and options avio: add support for passing options to protocols. avio: add and use ffurl_protocol_next(). avformat: Pass the interrupt callback on to chained muxers/demuxers avio: Add an AVIOInterruptCB parameter to ffurl_open/ffurl_alloc avformat: Use ff_check_interrupt avio: Add an internal utility function for checking the new interrupt callback avio: Add AVIOInterruptCB texi2html: remove stray \n doc: prettyfy the texi2html documentation swscale: handle unaligned buffers in yuv2plane1 Conflicts: libavformat/avformat.h libavformat/avio.c libavformat/mov.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
* av_tempfile: Pass int log_offset, void *log_ctxMichael Niedermayer2011-10-16
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* cache: add todo listMichael Niedermayer2011-10-16
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* cache: Fallback to using the cache size for AVSEEK_SIZE if the underlaying ↵Michael Niedermayer2011-10-16
| | | | | | protocol has nothing better. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* add cache protocolMichael Niedermayer2011-10-16
This allows backward seeking on top of some non seekable streams. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>