summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* huffyuvenc: BGRA supportMichael Niedermayer2013-07-29
| | | | | | Bug-Id: 452 Signed-off-by: Diego Biurrun <diego@biurrun.de>
* hls: Create an AVProgram for each variantLYF2013-07-29
| | | | | | | | | Without the information, an application may choose audio from one variant and video from another variant, which leads to fetching two variants from the network. This enables av_find_best_stream() to find matching audio and video streams, so that only one variant is fetched. Signed-off-by: Martin Storsjö <martin@martin.st>
* hls: Respect the different stream time bases when comparing dtsMichael Niedermayer2013-07-29
| | | | | | | | | | | | | | | | | | Also adjust the streams timestamps according to their start timestamp when comparing. This helps getting correctly interleaved packets if one stream lacks timestamps (such as a plain ADTS stream when the other variants are full mpegts) when the others have timestamps that don't start from zero. This probably doesn't work properly if such a stream is temporarily disabled (via the discard flags) and then reenabled, and such streams are hard to correctly sync against the other streams as well - but this works better than before at least. The segment number restriction makes sure all variants advance roughly at the same pace as well. Signed-off-by: Martin Storsjö <martin@martin.st>
* hls: Set stream offset before opening a chained demuxerMartin Storsjö2013-07-29
| | | | | | | This makes sure we don't accidentally check discard flags for the wrong stream. Signed-off-by: Martin Storsjö <martin@martin.st>
* hls: Don't check discard flags until the parent demuxer's streams actually existMichael Niedermayer2013-07-29
| | | | | | | | If passing the end of one segment while initializing the chained demuxer, the parent demuxer's streams aren't set up yet, so we can't recheck the discard flags. Signed-off-by: Martin Storsjö <martin@martin.st>
* hls: Copy the time base from the chained demuxerMichael Niedermayer2013-07-29
| | | | | | | When a variant stream isn't mpegts but e.g. raw adts, the default time base (90k) isn't correct. Signed-off-by: Martin Storsjö <martin@martin.st>
* hls: Return all packets from a previous variant before moving on to the next oneMartin Storsjö2013-07-29
| | | | | | | | | | This serves as a safeguard; normally we want to use the dts comparison to interleave packets from all active variants. If that dts comparison for some reason doesn't work as intended, make sure that all packets in all variants for a certain sequence number have been returned before moving on to the next one. Signed-off-by: Martin Storsjö <martin@martin.st>
* lavf: Don't interpret just slightly broken timestamps as wraparoundMichael Niedermayer2013-07-29
| | | | | | | This avoids breaking some slightly incorrect (dts > pts) timestamps in sample HLS streams from Apple. Signed-off-by: Martin Storsjö <martin@martin.st>
* oma: correctly mark and decrypt partial packetsLuca Barbato2013-07-28
| | | | | | | | Incomplete crypted files would lead to a read after buffer boundary otherwise. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* oma: check geob tag boundaryLuca Barbato2013-07-28
| | | | | | | Prevent read after buffer boundary on corrupted tag. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* oma: refactor seek functionLuca Barbato2013-07-28
| | | | Properly propagate seek errors from avio and the generic pcm seek.
* xl: Make sure the width is validLuca Barbato2013-07-28
| | | | | | And undo the wrong commit f1cb490d6d7391ff7e28cc376908cc98a652228d CC: libav-stable@libav.org
* http: Support reading gzip/deflate compressed dataZhang Rui2013-07-28
| | | | | | | | | | | | | | | | Derived from VLC's http module. Original authors: Antoine Cellerier <dionoea@videolan.org> Sébastien Escudier <sebastien-devel@celeos.eu> Rémi Duraffort <ivoire@videolan.org> Rémi Denis-Courmont <remi@remlab.net> Francois Cartegnie <fcvlcdev@free.fr> Normally, http servers shouldn't send this to us since we don't advertise it with an Accept-Encoding header, but some servers still do it anyway. Signed-off-by: Martin Storsjö <martin@martin.st>
* utvideoenc: use av_image_copy_plane()Paul B Mahol2013-07-28
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* aasc: Check minimum buffer sizeLuca Barbato2013-07-28
| | | | | | | Prevent some overreads. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* qdm2: Whitespace cosmeticsLuca Barbato2013-07-28
|
* flac: use meaningful return valuesLuca Barbato2013-07-28
|
* xl: Fix the buffer size checkLuca Barbato2013-07-28
| | | | | | | Also make it the first check. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* xl: K&R formatting cosmeticsLuca Barbato2013-07-28
|
* doc: cosmetics: Consistently format list and table itemsDiego Biurrun2013-07-27
|
* Add missing deprecation attributesDiego Biurrun2013-07-27
|
* eval: Explicitly ignore return value of strtod() in parse_db()Diego Biurrun2013-07-27
| | | | | The return value is not needed. This fixes the warning: libavutil/eval.c:353:15: warning: ignoring return value of ‘strtod’
* Remove unreachable returnsDiego Biurrun2013-07-27
|
* avidec: Let the inner dv demuxer take care of discardingLuca Barbato2013-07-27
| | | | CC: libav-stable@libav.org
* avidec: K&R formatting cosmeticsLuca Barbato2013-07-27
| | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* build: Only check FATE dependencies when running FATE testsDiego Biurrun2013-07-27
| | | | | | | Only check dependencies if invoking the make targets 'check' or anything matching 'fate%' except 'fate-rsync'. Signed-off-by: Martin Storsjö <martin@martin.st>
* h264: K&R formatting cosmeticsDiego Biurrun2013-07-27
|
* buffersink: K&R formatting cosmeticsDiego Biurrun2013-07-27
|
* wtv: Drop some casts that now are unnecessaryMartin Storsjö2013-07-26
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* wtv: Make WTV_SECTOR_BITS a 64 bit constantMartin Storsjö2013-07-26
| | | | | | | | This makes sure that values that are left-shifted by this constant end up casted to 64 bit before shifting, avoiding overflow if the value ends up larger than 2 GB. Signed-off-by: Martin Storsjö <martin@martin.st>
* AIX: add support for shared buildsMichael Kostylev2013-07-26
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* avio: Don't set the seekable flag if no seek function is providedHendrik Schreiber2013-07-26
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpenc: Fix some odd commentsMartin Storsjö2013-07-26
| | | | | | | Some weird comments stem from the fact that the rtpdec and rtpenc code was shared earlier. Signed-off-by: Martin Storsjö <martin@martin.st>
* lavfi: add attribute_align_arg to all public entry pointsHendrik Leppkes2013-07-26
| | | | | | | | | | Previously it was partly only added to central functions called internally, however if GCC would inline these into the public fuction, the alignment attribute would not take effect. Instead, add it to all public entry points to avoid these problems. Signed-off-by: Martin Storsjö <martin@martin.st>
* miscellaneous typo fixesDiego Biurrun2013-07-25
|
* mpeg12: Ignore slice threading if hwaccel is activeRémi Denis-Courmont2013-07-25
| | | | | | | Slice threading does not work with hardware acceleration, as decoding is per-picture. This fixes Bugzilla #542. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* vdpau: Fix VC-1 interlaced modeRainer Hochecker2013-07-25
| | | | | | | | VDPAU expects the bitstream value (0, 2 or 3). libavcodec uses an enum (0, 1 or 2). Signed-off-by: Rémi Denis-Courmont <remi@remlab.net> Signed-off-by: Diego Biurrun <diego@biurrun.de>
* cosmetics: Add '0' to float constants ending in '.'.Diego Biurrun2013-07-25
|
* twinvq: K&R formatting cosmeticsDiego Biurrun2013-07-25
|
* arm: Comment out unused labels in simple_idct_armMartin Storsjö2013-07-24
| | | | | | | | | | | | | | | | | When building for iOS in thumb mode, gas-preprocessor.pl doesn't mark unused labels as thumb functions (as it does for other local labels, where it can figure out that they are functions due to being referenced in branch instructions). This leads to linker warnings for some of those local labels, such as: ld: warning: ARM function not 4-byte aligned: __a_evaluation from libavcodec/libavcodec.a(simple_idct_arm.o) Therefore, comment them out since they don't have any function. They do still have a value in documenting key points in the assembly source though. Signed-off-by: Martin Storsjö <martin@martin.st>
* 8bps: Make the bound-checks consistentLuca Barbato2013-07-23
|
* 8bps: Bound-check the input bufferLuca Barbato2013-07-23
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* 4xm: Reject not a multiple of 16 dimensionLuca Barbato2013-07-23
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* alsdec: Clean up error pathsLuca Barbato2013-07-23
| | | | | | Fix at least a memory leak. CC: libav-stable@libav.org
* alsdec: Fix the clipping rangeLuca Barbato2013-07-23
| | | | | | | mcc_weightings is only 32 elements. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* arm: Mangle external symbols properly in new vfp assembly filesMartin Storsjö2013-07-22
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* arm: Add VFP-accelerated version of qmf_32_subbandsBen Avison2013-07-22
| | | | | | | | | Before After Mean StdDev Mean StdDev Change This function 1323.0 98.0 746.2 60.6 +77.3% Overall 15400.0 336.4 14147.5 288.4 +8.9% Signed-off-by: Martin Storsjö <martin@martin.st>
* dcadsp: Add a new method, qmf_32_subbandsBen Avison2013-07-22
| | | | | | | This does most of the work formerly carried out by the static function qmf_32_subbands() in dcadec.c. Signed-off-by: Martin Storsjö <martin@martin.st>
* arm: Add VFP-accelerated version of fft16Martin Storsjö2013-07-22
| | | | | | | | | Before After Mean StdDev Mean StdDev Change This function 1389.3 4.2 967.8 35.1 +43.6% Overall 15577.5 83.2 15400.0 336.4 +1.2% Signed-off-by: Martin Storsjö <martin@martin.st>
* arm: Add VFP-accelerated version of dca_lfe_firMartin Storsjö2013-07-22
| | | | | | | | | Before After Mean StdDev Mean StdDev Change This function 868.2 33.5 436.0 27.0 +99.1% Overall 15973.0 223.2 15577.5 83.2 +2.5% Signed-off-by: Martin Storsjö <martin@martin.st>