- 17 Apr, 2014 1 commit
-
-
Alessandro Ghedini authored
Signed-off-by:
Anton Khirnov <anton@khirnov.net>
-
- 26 Mar, 2014 2 commits
-
-
Michael Niedermayer authored
libavformat/aviobuf: keep track of the original buffer-size and restore it after probe/ensure-seekback Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 01 Mar, 2014 2 commits
-
-
Michael Niedermayer authored
This reduces the number of protocol seeks Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 11 Dec, 2013 1 commit
-
-
Michael Niedermayer authored
Fixes CID1135769 Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 13 Nov, 2013 2 commits
-
-
Michael Niedermayer authored
Found-by: Stefano Sabatini Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
Found-by: Stefano Sabatini Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 01 Nov, 2013 1 commit
-
-
Martin Storsjö authored
This simplifies proper error handling in rtsp.c/rtspdec.c. When broadcasting over RTSP in TCP mode, the AVIOContext is closed and recreated for each sent packet, and if the recreation fails, we might try to close a NULL buffer when freeing things at the end. Previously, if recreating the buffer in rtspdec.c failed, this would crash later due to trying to close a NULL buffer. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 26 Sep, 2013 1 commit
-
-
Martin Storsjö authored
When av_reallocp fails, the associated variables that keep track of the number of elements in the array (and in some cases, the separate number of allocated elements) need to be reset. Not all of these might technically be needed, but it's better to reset them if in doubt, to make sure variables don't end up conflicting. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 19 Sep, 2013 1 commit
-
-
Martin Storsjö authored
Null buffers are useful for simulating writing to a real buffer for the sake of measuring how many bytes are written. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 18 Sep, 2013 1 commit
-
-
Alexandra Khirnova authored
Signed-off-by:
Diego Biurrun <diego@biurrun.de>
-
- 08 Aug, 2013 1 commit
-
-
Ben Avison authored
This provides at least some protection against potential accidental corruption of AVIO buffer workspace. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 05 Aug, 2013 1 commit
-
-
Ben Avison authored
As long as there is enough contiguous data in the avio buffer, just return a pointer to it instead of copying it to the caller provided buffer. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 26 Jul, 2013 1 commit
-
-
Hendrik Schreiber authored
Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 23 Jul, 2013 1 commit
-
-
Hendrik Schreiber authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 04 Jul, 2013 2 commits
-
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
Data is appended in fill_buffer() when there is sufficient space left and the data pointer only reset when needed. Previously the data pointer was more often reset, loosing more seekback space than otherwise needed. Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 08 Apr, 2013 1 commit
-
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 03 Jan, 2013 2 commits
-
-
Martin Storsjö authored
This makes RTP custom IO work properly with pure read-only AVIOContexts as well. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
So far, aviocontexts are used either in pure-read or pure-write mode - full read/write mode doesn't work well (and implementing it is a much larger, not totally trivial change). This patch allows using avio_read and ffio_read_partial on read/write aviocontexts, where the read operations are passed through directly unbuffered, while writes are buffered as usual. This is enough to support the operations needed by packet based data transfer like in udp/rtp, where aviocontext is the only public API for hooking up custom IO. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 20 Dec, 2012 1 commit
-
-
Diego Biurrun authored
-
- 09 Dec, 2012 1 commit
-
-
Luca Barbato authored
-
- 24 Oct, 2012 2 commits
-
-
Michael Niedermayer authored
This check is somewhat more lenient as would be ideal because we dont know if the input is signed or unsigned Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 17 Oct, 2012 1 commit
-
-
Martin Storsjö authored
This seemed to assume that one never used writing avio unless muxers or networking was enabled. This ifdef is a remnant since 8fa641f8. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 13 Oct, 2012 1 commit
-
-
Michael Niedermayer authored
This prevents a double free Fixes CID718285 Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 10 Oct, 2012 1 commit
-
-
Luca Barbato authored
-
- 15 Sep, 2012 1 commit
-
-
Stefano Sabatini authored
This is consistent with stdio, and thus what people would naturally expect.
-
- 04 Sep, 2012 1 commit
-
-
Luca Barbato authored
-
- 25 Aug, 2012 1 commit
-
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 18 Aug, 2012 1 commit
-
-
Stefano Sabatini authored
This seems the expected behavior.
-
- 27 Jul, 2012 1 commit
-
-
jamal authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 06 Jul, 2012 1 commit
-
-
Lou Logan authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 15 Jun, 2012 2 commits
-
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 27 Apr, 2012 1 commit
-
-
Luca Barbato authored
Its behaviour in line with ffurl_close(NULL).
-
- 04 Apr, 2012 1 commit
-
-
Reimar Döffinger authored
Allows avoiding the buffer when using avio read, write and seek functions. When using the ffmpeg executable -avioflags direct can be used to enable this mode for input files, but has no effect on output files. Signed-off-by:
Reimar Döffinger <Reimar.Doeffinger@gmx.de>
-
- 30 Mar, 2012 1 commit
-
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 27 Jan, 2012 1 commit
-
-
Anton Khirnov authored
-