[FFmpeg-devel] [PATCH] cache: read_buf_size

Michael Niedermayer michael at niedermayer.cc
Sat Sep 22 19:21:59 EEST 2018


On Sat, Sep 22, 2018 at 12:16:10PM +0200, Robert Nagy wrote:
> This adds a `read_buf_size` option which can help avoid excessive seeking
> when a file has e.g. badly interleaved audio and video.
> 
> 
> ---
> 
>  libavformat/cache.c | 69 +++++++++++++++++++++++++++++++++++++--------
> 
>  1 file changed, 57 insertions(+), 12 deletions(-)
> 
> 
> diff --git a/libavformat/cache.c b/libavformat/cache.c
> 
> index 66bbbf54c9..d2fd467032 100644
> 
> --- a/libavformat/cache.c
> 
> +++ b/libavformat/cache.c
> 
> @@ -63,6 +63,8 @@ typedef struct Context {

this patch has

some strange

extra

newlines

in it

and doesnt apply automatically



[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I am the wisest man alive, for I know one thing, and that is that I know
nothing. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180922/516be795/attachment.sig>


More information about the ffmpeg-devel mailing list