- 04 Aug, 2016 1 commit
-
-
James Almer authored
Reviewed-by: Nicolas George <george@nsup.org> Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
-
- 17 Jul, 2016 1 commit
-
-
James Almer authored
Signed-off-by: James Almer <jamrial@gmail.com>
-
- 18 May, 2016 1 commit
-
-
Martin Storsjö authored
This allows callers with avio write callbacks to get the bytestream positions that correspond to keyframes, suitable for live streaming. In the simplest form, a caller could expect that a header is written to the bytestream during the avformat_write_header, and the data output to the avio context during e.g. av_write_frame corresponds exactly to the current packet passed in. When combined with av_interleaved_write_frame, and with muxers that do buffering (most muxers that do some sort of fragmenting or clustering), the mapping from input data to bytestream positions is nontrivial. This allows callers to get directly information about what part of the bytestream is what, without having to resort to assumptions about the muxer behaviour. One keyframe/fragment/block can still be split into multiple (if they are larger than the aviocontext buffer), which would call the callback with e.g. AVIO_DATA_MARKER_SYNC_POINT, followed by AVIO_DATA_MARKER_UNKNOWN for the second time it is called with the following data. Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 24 Mar, 2016 1 commit
-
-
Martin Storsjö authored
Since all URLContexts have the same AVOptions, such AVOptions will be applied on the outermost context only and removed from the dict, while they probably make sense on all contexts. This makes sure that rw_timeout gets propagated to the innermost URLContext (to make sure it gets passed to the tcp protocol, when opening a http connection for instance). Alternatively, such matching options would be kept in the dict and only removed after the ffurl_connect call. Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 16 Mar, 2016 1 commit
-
-
Hendrik Leppkes authored
This reverts commit 9f9ed79d. The hlsopts member was never set anywhere and always NULL, furthermore the HLS demuxer needs to retrieve the proper options from the underlying http protocol (cookies, user-agent, etc), so a dummy context won't help. Instead, use the AVIOContext directly to access the options.
-
- 04 Mar, 2016 1 commit
-
-
Derek Buitenhuis authored
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
-
- 29 Feb, 2016 1 commit
-
-
Derek Buitenhuis authored
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
-
- 22 Feb, 2016 3 commits
-
-
Anton Khirnov authored
Should make the default behaviour safer for careless callers that open random untrusted files. Bug-Id: CVE-2016-1897 Bug-Id: CVE-2016-1898
-
Anton Khirnov authored
This way, the decisions about which protocols are available for use in any given situations can be delegated to the caller.
-
Anton Khirnov authored
It will be useful in the following commits.
-
- 02 Feb, 2016 1 commit
-
-
Michael Niedermayer authored
Note to maintainers: update tools Note to maintainers: set a default whitelist for your protocol If that makes no sense then consider to set "none" and thus require the user to specify a white-list for sub-protocols to be opened Note, testing and checking for missing changes is needed Reviewed-by: Andreas Cadhalpun <andreas.cadhalpun@googlemail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
- 29 Jan, 2016 1 commit
-
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
- 13 Jan, 2016 1 commit
-
-
Michael Niedermayer authored
Fixes out of array read Fixes: 03c406ec9530e594a074ce2979f8a1f0/asan_heap-oob_7dec26_4664_37c52495b2870a2eaac65f53958e76c1.flac Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
- 27 Dec, 2015 1 commit
-
-
Reynaldo H. Verdejo Pinochet authored
Previous "currently size is limited" didn't give away much in terms of useful info. Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
-
- 16 Nov, 2015 2 commits
-
-
Bryan Huh authored
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
Bryan Huh authored
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
- 31 Jul, 2015 1 commit
-
-
Stephan Holljes authored
Signed-off-by: Stephan Holljes <klaxa1337@googlemail.com>
-
- 27 Jul, 2015 1 commit
-
-
Vittorio Giovara authored
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
-
- 16 Jun, 2015 1 commit
-
-
wm4 authored
Calling ffio_ensure_seekback() if ffio_init_checksum() has been called on the same context can lead to out of bounds memory accesses and crashes. The reason is that ffio_ensure_seekback() does not update checksum_ptr after reallocating the buffer, resulting in a dangling pointer. This effectively fixes potential crashes when opening mp3 files. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 11 Jun, 2015 1 commit
-
-
Michael Niedermayer authored
This allows us to adjust it internally. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 07 Jun, 2015 2 commits
-
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
Luca Barbato authored
-
- 31 May, 2015 1 commit
-
-
Vittorio Giovara authored
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-
- 11 May, 2015 1 commit
-
-
Michael Niedermayer authored
Previous version reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 27 Apr, 2015 1 commit
-
-
Michael Niedermayer authored
Without a read function there can never be more data read than the buffer could hold Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 11 Mar, 2015 1 commit
-
-
Diego Biurrun authored
This fixes a number of "assignment from incompatible pointer type" warnings.
-
- 03 Mar, 2015 1 commit
-
-
Mark Reid authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 28 Feb, 2015 1 commit
-
-
Martin Storsjö authored
Don't prefix them ffio_url, which is misleading, sounding too much like the urlprotocol layer (like ffurl_*). Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 24 Feb, 2015 1 commit
-
-
Martin Storsjö authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 28 Jan, 2015 2 commits
-
-
Michael Niedermayer authored
This undoes the effect of 3c18a7b1 for reading Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
Luca Barbato authored
Trigger a refill if the seek action moves the pointer at the end of the buffer. Before this patch the read action following the seek would trigger the refill, while write action would write outside the buffer. In the Libav codebase few muxers seek forward outside of what already has been written so it is quite unlikely to experience the problem with the default buffer size. CC: libav-stable@libav.org
-
- 14 Dec, 2014 1 commit
-
-
Michael Niedermayer authored
Fixes out of array access Suggested-by: Andrew Scherkus <scherkus@google.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 03 Dec, 2014 1 commit
-
-
Michael Niedermayer authored
Fixes ticket4152 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 20 Oct, 2014 1 commit
-
-
Vittorio Giovara authored
Avoid a possible null pointer dereference. CC: libav-stable@libav.org Bug-Id: CID 1135769
-
- 30 Sep, 2014 1 commit
-
-
wm4 authored
avio_flush() did nothing useful for read streams. Fix it to behave as expected, and discard the currently read buffer properly. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 27 Aug, 2014 1 commit
-
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 07 Aug, 2014 1 commit
-
-
James Almer authored
It's a public function and should use the avio_ namespace Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 30 Jul, 2014 1 commit
-
-
Carl Eugen Hoyos authored
Allows to set a probesize >2G. Tested-by: Oliver Fromme
-
- 25 Jul, 2014 1 commit
-
-
Nicolas George authored
C++ chokes on the definition of AVBPrint. Including avio.h from c++ code used to work. Fix trac ticket #3800. Signed-off-by: Nicolas George <george@nsup.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 23 Jul, 2014 1 commit
-
-
Andrey Utkin authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-