- 04 Apr, 2013 1 commit
-
-
Anton Khirnov authored
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
-
- 15 Mar, 2013 1 commit
-
-
Anton Khirnov authored
To avoid allocating ridiculous amounts of memory for corrupted files, read the input in chunks limited to filesize or an arbitrary large amount when that is not known (chosen to be 50M).
-
- 11 Mar, 2013 4 commits
-
-
Anton Khirnov authored
-
Anton Khirnov authored
-
Anton Khirnov authored
-
Anton Khirnov authored
-
- 08 Mar, 2013 1 commit
-
-
Anton Khirnov authored
This will allow us to avoid copying the packets in many cases. This breaks ABI.
-
- 07 Mar, 2013 1 commit
-
-
Reimar Döffinger authored
Make sure the behavior does not change with the locale. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 27 Feb, 2013 1 commit
-
-
Martin Storsjö authored
The handling of the environment variable no_proxy, present since one of the initial commits (de6d9b64), is inconsistent with how many other applications and libraries interpret this variable. Its bare presence does not indicate that the use of proxies should be skipped, but it is some sort of pattern for hosts that does not need using a proxy (e.g. for a local network). As investigated by Rudolf Polzer, different libraries handle this in different ways, some supporting IP address masks, some supporting arbitrary globbing using *, some just checking that the pattern matches the end of the hostname without regard for whether it actually is the right domain or a domain that ends in the same string. This simple logic should be pretty similar to the logic used by lynx and curl. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 08 Dec, 2012 1 commit
-
-
Mans Rullgard authored
The values compared here can be more than INT64_MAX apart. Since the difference is always positive, converting to uint64_t before subtracting gives the correct result without overflows. Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
- 04 Dec, 2012 1 commit
-
-
Anton Khirnov authored
-
- 28 Nov, 2012 1 commit
-
-
Justin Ruggles authored
-
- 26 Nov, 2012 1 commit
-
-
Janne Grunau authored
Scaling the denominator instead of the numerator if it is too large loses precision. Fixes an assert caused by a negative frame duration in the fuzzed sample nasa-8s2.ts_s202310. CC: libav-stable@libav.org
-
- 09 Oct, 2012 3 commits
-
-
Duncan Salerno authored
This is defined by RFC 3986 section 5.4.1 to be handled this way. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
Duncan Salerno authored
Signed-off-by:
Martin Storsjö <martin@martin.st>
-
Duncan Salerno authored
Strip off query parameters from the original url before applying the new relative path. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 08 Oct, 2012 1 commit
-
-
Anton Khirnov authored
-
- 01 Oct, 2012 3 commits
-
-
Luca Barbato authored
-
Diego Biurrun authored
-
Diego Biurrun authored
-
- 24 Sep, 2012 1 commit
-
-
Anton Khirnov authored
This allows using avcodec_free_frame() to free it properly.
-
- 21 Sep, 2012 1 commit
-
-
Anton Khirnov authored
-
- 20 Sep, 2012 1 commit
-
-
Janne Grunau authored
This occurs with fuzzed mpeg-ts files. set_codec_from_probe_data() is called with a zeroed AVProbeData since no packet made through for specific stream.
-
- 15 Sep, 2012 3 commits
-
-
Luca Barbato authored
The condition should not be &&.
-
Anton Khirnov authored
This is consistent with stdio and is what we want to do in all cases. Fixes a bug in the voc muxer which didn't flush in write_trailer() previously. This is the cause of the change in the test results.
-
Anton Khirnov authored
-
- 14 Sep, 2012 2 commits
-
-
Luca Barbato authored
Do not crash if the input format is not allocated yet.
-
Luca Barbato authored
avio_close checks by itself for NULL condition.
-
- 18 Aug, 2012 1 commit
-
-
Mans Rullgard authored
Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
- 12 Aug, 2012 2 commits
-
-
Martin Storsjö authored
If the dts difference is more than 1000 times the average dts difference, restart the analysis. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
These are normally initialized to AV_NOPTS_VALUE at the start of avformat_find_stream_info, but if a new stream is found while this function is running (e.g. like in mpegts), the newly added AVStreams didn't have these values properly initalized, leading to avformat_find_stream_info terminating too soon (when the first timestamps are far from 0). Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 11 Aug, 2012 1 commit
-
-
Anton Khirnov authored
-
- 10 Aug, 2012 1 commit
-
-
Mans Rullgard authored
This adds a function to retrieve the number of entries in a dictionary and updates the places directly accessing what should be an opaque struct to use this new function instead. Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
- 07 Aug, 2012 1 commit
-
-
Anton Khirnov authored
-
- 05 Aug, 2012 1 commit
-
-
Martin Storsjö authored
At this place, the normal way of initializing a struct works fine, there's no need for a struct literal. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 29 Jul, 2012 4 commits
-
-
Anton Khirnov authored
According to its description, it is supposed to be the LCM of all the frame durations. The usability of such a thing is vanishingly small, especially since we cannot determine it with any amount of reliability. Therefore get rid of it after the next bump. Replace it with the average framerate where it makes sense. FATE results for the wtv and xmv demux tests change. In the wtv case this is caused by the file being corrupted (or possibly badly cut) and containing invalid timestamps. This results in lavf estimating the framerate wrong and making up wrong frame durations. In the xmv case the file contains pts jumps, so again the estimated framerate is far from anything sane and lavf again makes up different frame durations. In some other tests lavf starts making up frame durations from different frame.
-
Anton Khirnov authored
-
Anton Khirnov authored
AVPacket.duration is mostly made up and thus completely useless, this is especially true for video streams. Therefore use dts difference for framerate estimation and the max_analyze_duration check. The asyncts test now needs -analyzeduration, because the default is 5 seconds and the audio stream in the sample appears at ~10 seconds.
-
Luca Barbato authored
Useful in cases where a significant analyzeduration is still needed, while minimizing buffering before output. An example is processing low-latency streams where all media types won't necessarily come in if the analyzeduration is small. Additional changes by Josh Allmann <joshua.allmann@gmail.com> Signed-off-by:
Anton Khirnov <anton@khirnov.net>
-
- 28 Jul, 2012 1 commit
-
-
Anton Khirnov authored
-