avcodec/nvenc: Remove special cases for cygwin

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avformat/cache: support non continuous caching

This allows using the cache protocol on top of seekable but slow protocols to
speed them up

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avformat/cache: remember EOF point if hit and use it to handle SEEK_END

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avformat/cache: more informative error message

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avformat/cache: Use the correct io handle in seeking

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avformat/cache: Support user specified read-ahead for non seekable media

Fixes Ticket2406

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avfilter/xbr: refactor alpha blending macros
avfilter/xbr: remove unused mask
avfilter/xbr: move alpha blend assignment out of the macros
avfilter/xbr: refactor px calculation in FILT[234]
avfilter/xbr: reindent after previous commit
Changelog: Mention non continuous cache protocol

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avformat/cache: cleanup cache file on cache write failure

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avformat/cache: keep cache_pos updated

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avformat/cache: avoid lseek() on reading from the cache if possible

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avformat/cache: Extend cache entries if possible instead of creating new ones

This reduces the number of cache entries and should significantly
reduce memory requirements

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
lavfi/blend: add difference128 mode
avformat/cache: remove ftruncate usage, its not always available

In case of errors the cache file will be slightly larger than needed,
this should have no practical relevance though

Should fix build on VS201*

Found-by: jamrial
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avformat/rtsp: Use av_freep() to avoid leaving stale pointers in memory

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avfilter/vf_boxblur: generate supported pixfmt list instead of hardcoding

This adds support for several more >8bit planar formats

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>