- 18 2月, 2016 4 次提交
-
-
由 Diego Biurrun 提交于
-
由 Diego Biurrun 提交于
-
由 Diego Biurrun 提交于
The WTV demuxer depends on large parts of the MPEG-TS demuxer internals anyway and fails to build without it.
-
由 Diego Biurrun 提交于
-
- 17 2月, 2016 1 次提交
-
-
由 Vittorio Giovara 提交于
Signed-off-by: NLuca Barbato <lu_zero@gentoo.org>
-
- 14 2月, 2016 1 次提交
-
-
由 Luca Barbato 提交于
An AVIO offset is int64_t. Bug-Id: 921
-
- 13 2月, 2016 1 次提交
-
-
由 Luca Barbato 提交于
-
- 07 2月, 2016 4 次提交
-
-
由 Andreas Cadhalpun 提交于
This fixes infinite loops due to seeking back. Signed-off-by: NAlexandra Hájková <alexandra@khirnov.net> Signed-off-by: NLuca Barbato <lu_zero@gentoo.org>
-
由 Andreas Cadhalpun 提交于
This fixes infinite loops due to seeking back. Signed-off-by: NAlexandra Hájková <alexandra@khirnov.net> Signed-off-by: NLuca Barbato <lu_zero@gentoo.org>
-
由 Andreas Cadhalpun 提交于
The loop can be very long, even though the file is very short. Signed-off-by: NAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: NAlexandra Hájková <alexandra@khirnov.net> Signed-off-by: NLuca Barbato <lu_zero@gentoo.org>
-
由 Andreas Cadhalpun 提交于
asf_read_payload can unset eof_reached, so check it also before calling that function. This fixes infinite loops. Signed-off-by: NAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: NAlexandra Hájková <alexandra@khirnov.net> Signed-off-by: NLuca Barbato <lu_zero@gentoo.org>
-
- 26 1月, 2016 1 次提交
-
-
由 Vittorio Giovara 提交于
-
- 24 1月, 2016 2 次提交
-
-
由 Anton Khirnov 提交于
Now all IO should go through the IO callbacks and be interceptable by the caller.
-
由 Anton Khirnov 提交于
Some (de)muxers open additional files beyond the main IO context. Currently, they call avio_open() directly, which prevents the caller from using custom IO for such streams. This commit adds callbacks to AVFormatContext that default to avio_open2()/avio_close(), but can be overridden by the caller. All muxers and demuxers using AVIO are switched to using those callbacks instead of calling avio_open()/avio_close() directly. (de)muxers that use the URLProtocol layer directly instead of AVIO remain unconverted for now. This should be fixed in later commits.
-
- 22 1月, 2016 2 次提交
-
-
由 Piotr Bandurski 提交于
-
由 Piotr Bandurski 提交于
-
- 21 1月, 2016 1 次提交
-
-
由 Derek Buitenhuis 提交于
This feature is mostly only used by NLE software, and is both of dubious value being enabled by default, and a possible security risk. Signed-off-by: NDerek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: NLuca Barbato <lu_zero@gentoo.org>
-
- 19 1月, 2016 2 次提交
-
-
由 Martin Storsjö 提交于
For http, this avoids spurious warnings about failed requests (e.g. HTTP error 416 Requested Range Not Satisfiable), if the last packet is truncated and the size read is bogus. Signed-off-by: NMartin Storsjö <martin@martin.st>
-
由 Michael Niedermayer 提交于
When loading a truncated flv file, it would previously try to do a seek to the end of every packet read. For some input protocols (such as http), such repeated seek attempts are cripple the reading performance. Signed-off-by: NMartin Storsjö <martin@martin.st>
-
- 13 1月, 2016 2 次提交
-
-
由 Andreas Cadhalpun 提交于
Fixes runtime error: null pointer passed as argument 2, which is declared to never be null Signed-off-by: NAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: NAnton Khirnov <anton@khirnov.net>
-
由 Andreas Cadhalpun 提交于
Signed-off-by: NAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: NAnton Khirnov <anton@khirnov.net>
-
- 12 1月, 2016 4 次提交
-
-
由 Anton Khirnov 提交于
This test does no encoding, setting the flag was done just to silence the warning removed in the previous commit.
-
由 Anton Khirnov 提交于
The AVStream codec context is often not (and should not be) the actual encoding context, so this warning will be spurious in many cases.
-
由 Clément Bœsch 提交于
Signed-off-by: NVittorio Giovara <vittorio.giovara@gmail.com>
-
由 Alexandra Hájková 提交于
Signed-off-by: NLuca Barbato <lu_zero@gentoo.org>
-
- 07 1月, 2016 3 次提交
-
-
由 Alexandra Hájková 提交于
Signed-off-by: NAnton Khirnov <anton@khirnov.net>
-
由 Andreas Cadhalpun 提交于
Both avio_skip and detect_unknown_subobject use int64_t for the size parameter. This fixes a segmentation fault due to infinite recursion. Signed-off-by: NAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: NAlexandra Hájková <alexandra.khirnova@gmail.com> Signed-off-by: NAnton Khirnov <anton@khirnov.net>
-
由 Andreas Cadhalpun 提交于
Otherwise invalid values are used unchecked in the next run. This can cause NULL pointer dereferencing. Signed-off-by: NAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: NAlexandra Hájková <alexandra.khirnova@gmail.com> Signed-off-by: NAnton Khirnov <anton@khirnov.net>
-
- 26 12月, 2015 2 次提交
-
-
由 Diego Biurrun 提交于
-
由 Diego Biurrun 提交于
-
- 14 12月, 2015 3 次提交
-
-
由 Stefan Pöschel 提交于
So far an AC-3 elementary stream is refered to in the PMT according to System A (ATSC). However System B (DVB) has a different way to signal an AC-3 ES within the PMT. This different way can be enabled by a new flag. The flag is more generally named 'system_b' as there are further differences between ATSC and DVB (e.g. the signalling of E-AC-3) which should then also be covered by it in the future. Bug-Id: 73 Signed-off-by: NLuca Barbato <lu_zero@gentoo.org>
-
由 Anton Khirnov 提交于
-
由 Martin Storsjö 提交于
This matches what librtmp does. This fixes automatic url parsing of crunchyroll urls. Signed-off-by: NMartin Storsjö <martin@martin.st>
-
- 13 12月, 2015 7 次提交
-
-
由 Anton Khirnov 提交于
The stream parameters are not known until we read a packet, so postpone creating it until then.
-
由 Anton Khirnov 提交于
-
由 Anton Khirnov 提交于
The current muxer behaviour is to create streams in read_header() based on the audio/video presence flags, but fill in the stream parameters later when we actually get some packets for them. This is rather shady, since other demuxers set the stream parameters immediately when the stream is created and do not touch the stream codec context after that. Change the flv demuxer to behave in the same way as other similar demuxers -- create the streams only when we get a packet for them.
-
由 Anton Khirnov 提交于
The latter does not require a full AVCodecContext and still provides all the functionality needed here.
-
由 Anton Khirnov 提交于
Almost all the places from which this function is called already check the header manually and in the two that don't (the mp3 muxer) the check should not cause any problems.
-
由 Anton Khirnov 提交于
-
由 Anton Khirnov 提交于
It will not be set unless the muxing codec context is also the encoding context, which is discouraged. When the frame size is not known from av_get_audio_frame_duration(), the fallback should still be good enough.
-