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>