summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* smoothstreamingenc: Add a missing "goto fail"Michael Niedermayer2015-01-19
| | | | | | | | This goto wasn't necessary originally, but it should have been added when the write_manifest call was added in 8e276378. CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* aea: Return proper error code on invalid headerNidhi Makhijani2015-01-16
|
* swscale: fix gbrap to gbrap alpha scalingVittorio Giovara2015-01-16
|
* swscale: fix warning about incompatible function pointer typeVittorio Giovara2015-01-16
|
* rtmppkt: Repeat the full 32 bit timestamp for chunking continuation packetsMartin Storsjö2015-01-15
| | | | | | | | | | | | | | | | | | This fixes sending chunked packets (packets larger than the output chunk size, which often can be e.g. 4096 bytes) with a timestamp delta (or absolute timstamp, if it's a timestamp step backwards, or the first packet of the stream) larger than 0xffffffff. The RTMP spec explicitly says (in section 5.3.1.3.) that packets of type 3 (continuation packets) should include this field, if the previous non-continuation packet had it included. The receiving code handles these packets correctly. Pointed out by Cheolho Park. CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* h264_cabac: Break infinite loopsMichael Niedermayer2015-01-15
| | | | | | | | | | | This fixes out of array reads and/or infinite loops. 30 is the maximum number of bits that can be read into coeff_abs below. CC: libav-stable@libav.org Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Martin Storsjö <martin@martin.st>
* opus_parser: drop unused variableVittorio Giovara2015-01-15
|
* bsf: check memory allocationsVittorio Giovara2015-01-15
|
* vp8: improve memory allocation checksVittorio Giovara2015-01-15
| | | | | | | Check memory earlier, check one more allocation and clean up on error. CC: libav-stable@libav.org Bug-Id: CID 1257773
* id3v2: fix reading v2.2 attached picturesAnton Khirnov2015-01-14
| | | | | In v2.2, the picture type is not a zero-terminated string, but has a constant size of 3 bytes.
* id3v2: add names to the parameters of ID3v2EMFunc.readAnton Khirnov2015-01-14
| | | | Some of them are not immediately obvious.
* id3v2: constify the 'tag' parameter to special metadata parsing callbackAnton Khirnov2015-01-14
| | | | Those functions should not ever modify it.
* tiff: support decoding GBRP and GBRAP formatsPaul B Mahol2015-01-14
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* libswscale: GBRAP input & output and GBRAP16 input supportPaul B Mahol2015-01-14
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavc: add GBRAP to avcodec_align_dimensions2Paul B Mahol2015-01-14
|
* lavu: add planar 16 bit and 8 bit rgb with alphaPaul B Mahol2015-01-14
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* imgutils: create misc functions for dealing with buffersStefano Sabatini2015-01-14
| | | | | | | | | | | | | | | | | Move the lavc/imgconvert functions and rename them as follows: avpicture_get_size -> av_image_get_buffer_size() avpicture_fill -> av_image_fill_arrays() avpicture_layout -> av_image_copy_to_buffer() The new functions have an align parameter, which allows to define the linesize alignment assumed in the buffer (which is set or read). The names of the functions are consistent with the lavu/samples API (av_samples_get_buffer_size(), av_samples_fill_arrays()). A redundant check has been dropped from av_image_fill_arrays(). Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* mov: Check angle rather than full matrix when updating SARVittorio Giovara2015-01-14
| | | | | | | | | | | | When the display matrix is not the identity one, but the rotation angle is zero, there is no need to update the sample aspect ratio. Otherwise, it is possible to obtain negative values which interferes with transcoding in later stages. This kind of behaviour is reproducible on mov files with "major_brand: MSNV". CC: libav-stable@libav.org Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* png: improve signature checkVittorio Giovara2015-01-14
| | | | | Return proper error code, print an error message and add missing parentheses.
* img2dec: correctly use the parsed value from -start_numberVittorio Giovara2015-01-14
| | | | | | | Previously the image sequence was always starting from the minimum number rather than the requested one. CC: libav-stable@libav.org
* matroskaenc: refuse to write AAC without valid extradataAnton Khirnov2015-01-09
|
* mpeg4audio: check the init_get_bits() return valueAnton Khirnov2015-01-09
| | | | | | Fixes possible invalid reads. CC:libav-stable@libav.org
* libfdk-aacdec: Make sure decoding doesn't add any extra delay in the latest ↵Martin Storsjö2015-01-08
| | | | | | | | | | | version of fdk-aac The latest version added support for a new option for enabling a signal level limiter, which adds some extra delay. In fdk-aac, this is enabled by default, but disable it by default here since we'd rather have zero-delay decoding. Signed-off-by: Martin Storsjö <martin@martin.st>
* libopenh264enc: Fix a typo and some nitpicksMartin Storsjö2015-01-08
| | | | | | Also move the .long_name entry to below the .name entry. Signed-off-by: Martin Storsjö <martin@martin.st>
* doc: Add initial documentation about the OpenH264 encoder wrapperMartin Storsjö2015-01-08
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* xsub: Support DXSA subtitlesAlexandre Colucci2015-01-07
| | | | | | | | These have a DXSA tag and contain alpha in addition to color values for palette. Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mpeg: Remove unused fieldLuca Barbato2015-01-07
|
* segment: Fix the failure pathsLuca Barbato2015-01-07
| | | | | | | | | A failure in segment_end() or segment_start() would lead to freeing a dangling pointer and in general further calls to seg_write_packet() or to seg_write_trailer() would have the same faulty behaviour. CC: libav-stable@libav.org Reported-By: luodalongde@gmail.com
* libavcodec: Add an OpenH264 encoder wrapperMartin Storsjö2015-01-06
| | | | | | | | | | | | | | | | | | | | Compared to existing, common opensource H264 encoders, this can be useful since it has got a different license (BSD instead of GPL). Performance- and qualitywise it is comparable to x264 in ultrafast mode. Hooking it up as an encoder in libavcodec also simplifies comparing it against other common encoders. This requires OpenH264 1.3 or newer. Since the OpenH264 API and ABI changes frequently, only releases are supported. To take advantage of the OpenH264 patent offer, the OpenH264 library must not be redistributed, but downloaded at runtime at the end-user's system. Signed-off-by: Martin Storsjö <martin@martin.st>
* movenc: Fix a typo in a commentMartin Storsjö2015-01-06
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* movenc: Readd an accidentally removed conditionMartin Storsjö2015-01-06
| | | | | | | This was removed accidentally as part of 847bf598. This could cause groundless warning logging. Signed-off-by: Martin Storsjö <martin@martin.st>
* isom: add 'mp1v' fourccJustin Ruggles2015-01-06
| | | | | | As referenced in the CoreMedia API docs. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* msmpeg4: check memory allocations and propagate errorsVittorio Giovara2015-01-06
| | | | Bug-Id: CID 1257781
* ulti: invert the order of parameters of ulti_decode_frame()Vittorio Giovara2015-01-06
| | | | | | | | | This is the order that the caller uses in the rest of the file. Variables are modified to reflect the order above too and their initialization is merged with their declarationt. No behavioral change. Bug-Id: CID 732286
* vf_interlace: remove the warning tag in the messageVittorio Giovara2015-01-05
| | | | The log level is already a warning.
* vf_interlace: merge FIELD_LOWER checkVittorio Giovara2015-01-05
|
* vf_interlace: also assert for heightVittorio Giovara2015-01-05
|
* vf_interlace: use image width rather than linesizeVittorio Giovara2015-01-05
| | | | Based on a patch by Michael Niedermayer <michaelni@gmx.at>.
* build: Use -Werror=format-securityAgostino Sarubbo2015-01-05
| | | | Reduce the chance of introducing a class of bugs quite hard to track.
* vda: error out if decoded CVPixelBuffer is emptyStefano Pigozzi2015-01-05
| | | | | | | | On some video samples, VDA silently fails to decode frames and returns kVDADecoderNoErr. Error out in these cases to avoid producing AVFrames with empty planes. Signed-off-by: Stefano Pigozzi <stefano.pigozzi@gmail.com>
* ffv1: const correctness for encode_rgb_frame()Diego Biurrun2015-01-05
| | | | libavcodec/ffv1enc.c:922:53: warning: passing argument 5 of ‘encode_rgb_frame’ discards ‘const’ qualifier from pointer target type
* ffv1: Drop unnecessary casts and const qualifiers to match function signaturesDiego Biurrun2015-01-05
| | | | libavcodec/ffv1dec.c:898:36: warning: cast discards ‘const’ qualifier from pointer target type
* swscale: check memory allocationsVittorio Giovara2015-01-05
| | | | | CC: libav-stable@libav.org Bug-Id: CID 1257779
* opt: check memory allocationVittorio Giovara2015-01-05
| | | | | CC: libav-stable@libav.org Bug-Id: CID 1257771
* movenc: Enable editlists by default if delay_moov is enabledMartin Storsjö2015-01-04
| | | | | | | Being able to write editlists properly is one of the main points in the delay_moov flag. Signed-off-by: Martin Storsjö <martin@martin.st>
* libavformat: Check for malloc failures in avformat_new_streamMartin Storsjö2015-01-04
| | | | | CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* libavformat: Remove a misleading/incorrect commentMartin Storsjö2015-01-04
| | | | | | | | This comment can be traced back to the initial commit from 2001, and it seemed to be misleading/incorect already back then. (It was used for normal, non-raw file formats already then.) Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Remap -L to -libpath for msvcMartin Storsjö2015-01-04
| | | | | | | | This allows using libraries that are detected via pkg-config with msvc. (The libraries themselves may have to be built with MSVC though.) Signed-off-by: Martin Storsjö <martin@martin.st>
* cmdutils: update copyright year to 2015.Johan Andersson2015-01-04
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* avisynth: Use RTLD_LOCAL instead of RTLD_GLOBALMartin Storsjö2015-01-03
| | | | | | | There shouldn't be any need to add the loaded libraries to the global symbol namespace. Signed-off-by: Martin Storsjö <martin@martin.st>