summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* g2meet: Respect cursor_stride properly everywhereKostya Shishkov2013-09-251-0/+3
| | | | | | This fixes a regression with rgb cursors since b1e46988. Signed-off-by: Martin Storsjö <martin@martin.st>
* lavc doxy: document that avcodec_flush_buffers() invalidates decoded framesAnton Khirnov2013-09-241-5/+11
|
* doc/filters: fix an option name in the unsharp docsAnton Khirnov2013-09-241-1/+1
|
* h264: do not reinitialize the global cabac tables at each slice headerAnton Khirnov2013-09-242-1/+8
|
* cabac: remove write-only h264_mps_state[]Anton Khirnov2013-09-241-6/+2
|
* matroskadec: check av_strdup() when setting defaultsAnton Khirnov2013-09-241-1/+7
|
* lavc: add support for interleaved chroma formats to libx264.Kieran Kunhya2013-09-241-0/+6
| | | | | | Interleaved chroma is x264's native format Signed-off-by: Anton Khirnov <anton@khirnov.net>
* pixdesc: fix NV20* descriptorsMichael Niedermayer2013-09-241-6/+6
| | | | | | They were inconsistent (overlapping fields and wrong sizes) Signed-off-by: Anton Khirnov <anton@khirnov.net>
* h264_sei: check SEI sizeMichael Niedermayer2013-09-241-0/+6
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* h264: do not discard NAL_SEI when skipping framesRainer Hochecker2013-09-241-2/+3
| | | | | | Setting AVDISCARD_NONREF (e.g. after flushing) resulted in 100% dropped frames. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* h264: log extradata skip only for non-ignored NALsVittorio Giovara2013-09-241-2/+5
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* h264_sei: log unknown sei messagesVittorio Giovara2013-09-241-0/+1
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* mpegvideo: Initialize chroma_*_shift and codec_tag even if the size is 0Martin Storsjö2013-09-241-8/+8
| | | | | | | | | | | | This fixes breakage in a few fate tests on certain setups (that for some reason didn't break on OS X) after the previous commit (8812a8057). Currently, some video streams are initialized in ff_MPV_common_init with width/height set at 0 and only changed to a proper video size with ff_MPV_common_frame_size_change later. The breakage was diagnosed by Anton Khirnov. Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Enable -Qansi-alias for icl 14+Alex Smith2013-09-241-2/+4
| | | | | | | Qansi-alias worked on 12.x, then caused miscompilation on 13.x, but now works again passing all FATE tests for icl version 14. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* h263dec: Remove a hack that can cause infinite loopsMartin Storsjö2013-09-231-13/+0
| | | | | | | | The actual usefulness of the hack is not known, and it does cause infinite loops with some broken input files. CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* movenchint: Clear size and len if the realloc failedMartin Storsjö2013-09-221-1/+3
| | | | | | | | Previously these were left in an inconsistent state. Pointed out by Michael Niedermayer. Signed-off-by: Martin Storsjö <martin@martin.st>
* movenc: Return a proper error code for invalid combinationsMartin Storsjö2013-09-221-2/+2
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* vc1dec: Check the error handling flags on slice/field header decode errorsMartin Storsjö2013-09-221-0/+4
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* electronicarts: Check packet sizes before readingMartin Storsjö2013-09-221-3/+9
| | | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* lavf: Avoid setting avg_frame_rate if delta_dts is negativeMartin Storsjö2013-09-221-1/+2
| | | | | | | | | This avoids setting avg_frame_rate to invalid (negative) values. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* vc1dec: Don't decode slices when the latest slice header failed to decodeMichael Niedermayer2013-09-221-2/+6
| | | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* vc1dec: Make sure last_picture is initialized in vc1_decode_skip_blocksMartin Storsjö2013-09-221-0/+3
| | | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* vc1dec: Undo mpegvideo initialization if unable to allocate tablesMartin Storsjö2013-09-221-1/+5
| | | | | | | | | | Previously, s->context_initialized was left set to 1 if ff_vc1_decode_init_alloc_tables failed, skipping the initialization completely on the next decode call. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* vc1dec: Fix leaks in ff_vc1_decode_init_alloc_tables on errorsMartin Storsjö2013-09-221-2/+13
| | | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* wnv1: Make sure the input packet is large enoughMartin Storsjö2013-09-221-0/+5
| | | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* movenc: Use keyframes as default fragmentation point in ismvMartin Storsjö2013-09-221-1/+1
| | | | | | | | Fragmenting blindly to a certain duration isn't a good choice if one should be able to switch between different qualities, therefore default to keyframes instead. Signed-off-by: Martin Storsjö <martin@martin.st>
* movenc: Set all implicit flags immediately in mov_write_headerMartin Storsjö2013-09-221-2/+5
| | | | | | | | This makes sure other sanity checks for conflicting options can work properly, e.g. for the conflict between the faststart flag when using the ismv mode. Signed-off-by: Martin Storsjö <martin@martin.st>
* movenc: Set mov->mode earlier in mov_write_headerMartin Storsjö2013-09-221-18/+19
| | | | | | | This allows simplifying some early checks that depend on the muxer mode. Signed-off-by: Martin Storsjö <martin@martin.st>
* tls: Do not abort on non-fatal TLS alerts with gnutlsMartin Storsjö2013-09-221-1/+8
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* flv: Make onTextData parsing robustLuca Barbato2013-09-221-19/+69
| | | | Certain streaming servers do not preserve the order of the fields.
* rtmp: Replace a magic number with a macroLuca Barbato2013-09-221-7/+8
| | | | 11 is the RTMP header size.
* rtmp: Rewrite embedded flv handlingLuca Barbato2013-09-221-28/+42
| | | | | | Use update_offset() as done for rtmp audio, video and notifications and read update and write the fields instead of replacing them in the rtmp packet and then memcpying it to the output buffer.
* rtmp: Refactor get_packetLuca Barbato2013-09-221-62/+51
|
* rtmp: Support AMF_DATA_TYPE_MIXEDARRAYLuca Barbato2013-09-221-25/+40
| | | | | | | | | And fix the AMF_DATA_TYPE_ARRAY parsing while at it. A MIXEDARRAY type, as the ARRAY, store the number of elements in an uint32 before the list. The ARRAY is strict and does not have an OBJECT terminator, MIXEDARRAY behaves like an OBJECT type and a different than stated number of element can be present.
* avutil: Fix compilation with inline asm disabled on mingwAlex Smith2013-09-221-0/+1
| | | | | | Because of -Werror=implicit-function-declaration the build will fail. Signed-off-by: Martin Storsjö <martin@martin.st>
* lavu: Add interleaved 4:2:2 8/10-bit formatsKieran Kunhya2013-09-214-1/+45
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* h264dec: Add .avc file name extensionVittorio Giovara2013-09-201-1/+1
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* h264dec: K&R formatting cosmeticsVittorio Giovara2013-09-201-23/+31
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* mem: Handle av_reallocp(..., 0) properlyMartin Storsjö2013-09-201-0/+4
| | | | | | | Previously this did a double free (and returned an error). Reported-by: Justin Ruggles Signed-off-by: Martin Storsjö <martin@martin.st>
* h264: remove an unused static constantVittorio Giovara2013-09-201-2/+0
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* msvc/icl: Use __declspec(noinline)Alex Smith2013-09-201-0/+2
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* msvc/icl: Use __declspec(deprecated)Alex Smith2013-09-203-4/+15
| | | | | | | | | | | Prior to this on msvc/icl there was no handling of deprecated functions and the deprecated warning was disabled. After enabling there are a number of warnings relating to the CRT and the use of the non-secure versions of several functions. Defining _CRT_SECURE_NO_WARNINGS silences these warnings. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtmp: Unbreak get_packetLuca Barbato2013-09-201-8/+9
| | | | Commit 5626f994f273af80fb100d4743b963304de9e05c broke it.
* dcadec: Validate the lfe parameterMartin Storsjö2013-09-201-0/+5
| | | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* rtmpproto: Add a comment explaining the logic in handle_notifyMartin Storsjö2013-09-201-0/+2
| | | | | | | This explains why the cleanup in 5626f994f was wrong and why ae0f316a was needed. Signed-off-by: Martin Storsjö <martin@martin.st>
* build: Support cparserLuca Barbato2013-09-191-0/+22
|
* r3d: Add more input value validationMartin Storsjö2013-09-191-1/+5
| | | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* rl2: Avoid a division by zeroMartin Storsjö2013-09-191-0/+4
| | | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* wtv: Add more sanity checks for a length read from the fileMartin Storsjö2013-09-191-1/+6
| | | | | | | | Also make sure the existing length check can't overflow. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* yop: Clear all references to the AVBuffer in the local AVPacketMartin Storsjö2013-09-191-0/+6
| | | | | | | | | This makes sure that it doesn't try to free an AVBuffer belonging to an earlier packet when we free the local packet at the end. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
OpenPOWER on IntegriCloud