aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-01-15avcodec/g2meet: Use av_mallocz_array() for framebuffer allocationMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-01-15avcodec/g722enc: Use av_mallocz_array()Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-01-15avcodec/flashsv2enc: use av_realloc_array()Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-01-15avcodec/parser: Check that the parser return code is validMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-01-15avcodec/flac_parser: Check for av_malloc() failureMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-01-15avcodec/flac_parser: Use sizeof(variable) instead of sizeof(type)Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-01-15avutil/pixfmt: Support the AV_PIX_FMT_GBRAP* formats with ↵Michael Niedermayer
AV_HAVE_INCOMPATIBLE_LIBAV_ABI Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-01-15avutil/pixfmt: Document the duplicated AV_PIX_FMT_GBRAP* formatsMichael Niedermayer
This is similar to the other duplicated cases Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-01-15avformat/id3v2: remove unused variableMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-01-15doc: fix showpalette positionClément Bœsch
2015-01-15avfilter: add showpalette filterClément Bœsch
2015-01-15avcodec/nvenc: fix b frame settingsagathah
Reviewed-by: Timo Rothenpieler <timo@rothenpieler.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-01-15Merge commit '024e5a2d5ff8a94adce48abb15ce2fb471f9d18e'Michael Niedermayer
* commit '024e5a2d5ff8a94adce48abb15ce2fb471f9d18e': rtmppkt: Repeat the full 32 bit timestamp for chunking continuation packets Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-01-15Merge commit 'def69553e745e007925147b2e7e4b32c57d08fdf'Michael Niedermayer
* commit 'def69553e745e007925147b2e7e4b32c57d08fdf': h264_cabac: Break infinite loops Conflicts: libavcodec/h264_cabac.c See: cdf0877bc341684c56ac1fe057397adbadf329ee Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-01-15Merge commit '402fb5550e36dd994b13941ef5499f9087afd345'Michael Niedermayer
* commit '402fb5550e36dd994b13941ef5499f9087afd345': opus_parser: drop unused variable See: 74141f693ded2fbf75af56fff309d2db35183635 Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-01-15Merge commit '8a9641a652ed1546fedfda22584f79d3d423096e'Michael Niedermayer
* commit '8a9641a652ed1546fedfda22584f79d3d423096e': bsf: check memory allocations Conflicts: libavcodec/noise_bsf.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-01-15Merge commit '014b6b416fec89777cb9cff61bcf7896eaf7cf39'Michael Niedermayer
* commit '014b6b416fec89777cb9cff61bcf7896eaf7cf39': vp8: improve memory allocation checks Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-01-15Merge commit '54bc15d5ebfd07fd468743ba29f709ea19e840b9'Michael Niedermayer
* commit '54bc15d5ebfd07fd468743ba29f709ea19e840b9': id3v2: fix reading v2.2 attached pictures Conflicts: libavformat/id3v2.c See: 05c3c568dccd6c42fdf6eea891d08c71fe2ee772 Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-01-15Merge commit '932788be5af8dee062c77851b573ea47dd6d047a'Michael Niedermayer
* commit '932788be5af8dee062c77851b573ea47dd6d047a': id3v2: add names to the parameters of ID3v2EMFunc.read Conflicts: libavformat/id3v2.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-01-15avformat/id3v2: Fix incompatible pointer type warningsMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-01-15Merge commit '8809c974a3fb51f96e498a5556a4a5bbacc581ce'Michael Niedermayer
* commit '8809c974a3fb51f96e498a5556a4a5bbacc581ce': id3v2: constify the 'tag' parameter to special metadata parsing callback Conflicts: libavformat/id3v2.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-01-15avfilter/edgedetect: fix indentClément Bœsch
2015-01-15rtmppkt: Repeat the full 32 bit timestamp for chunking continuation packetsMartin Storsjö
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>
2015-01-15h264_cabac: Break infinite loopsMichael Niedermayer
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>
2015-01-15Merge commit 'f86f39cb9b1fcd063d5e4812132a75c06cc7acd2'Michael Niedermayer
* commit 'f86f39cb9b1fcd063d5e4812132a75c06cc7acd2': tiff: support decoding GBRP and GBRAP formats Conflicts: libavcodec/tiff.c See: 379ad9788b80e05c0379adc49b26704dfd27d564 Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-01-15Merge commit '928061670e873e816daa14827853b7e11221ff5f'Michael Niedermayer
* commit '928061670e873e816daa14827853b7e11221ff5f': libswscale: GBRAP input & output and GBRAP16 input support Conflicts: libswscale/input.c libswscale/swscale_internal.h libswscale/swscale_unscaled.c libswscale/utils.c tests/ref/fate/filter-pixdesc-gbrap tests/ref/fate/filter-pixfmts-copy tests/ref/fate/filter-pixfmts-null tests/ref/fate/filter-pixfmts-scale tests/ref/fate/filter-pixfmts-vflip See: 5c057433ccd32f37ddc828d3f82c5b1ad7d3e3db Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-01-15Merge commit '9a4aaae3b29392b6d74997e06be249d7d54a7394'Michael Niedermayer
* commit '9a4aaae3b29392b6d74997e06be249d7d54a7394': lavc: add GBRAP to avcodec_align_dimensions2 See: 5c057433ccd32f37ddc828d3f82c5b1ad7d3e3db Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-01-15Merge commit '0e6c7dfa650e8b0497bfa7a06394b7a462ddc33a'Michael Niedermayer
* commit '0e6c7dfa650e8b0497bfa7a06394b7a462ddc33a': lavu: add planar 16 bit and 8 bit rgb with alpha Conflicts: libavutil/pixdesc.c libavutil/pixfmt.h libavutil/version.h See: e6d4e687558d08187e7a415a7725e4b1a416f782 Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-01-15Merge commit 'e2ad0b66fa273c5c823978e8f601f2c0d9ee42f8'Michael Niedermayer
* commit 'e2ad0b66fa273c5c823978e8f601f2c0d9ee42f8': imgutils: create misc functions for dealing with buffers Conflicts: doc/APIchanges libavcodec/avcodec.h libavcodec/avpicture.c libavutil/imgutils.c libavutil/imgutils.h libavutil/version.h See: e6674e46ecdd7aaa93d7f7d818eb1c8224b35eae Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-01-15avformat/mov: Do not set aspect ratios that would contain zerosMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-01-15avformat/mov: rewrite aspect from matrix codeMichael Niedermayer
The original code was intended purely for rotation == 0 In cf70ba37ba74089a18295b29e77dead0a3222c9e the condition was changed to use it only for rotation != 0 which broke the cases for which it was intended to be used as well as breaking cases for which it was not intended to be used. This changes the code so it could work for the more general case and fixes the regressions If you have sample files that are not handled correctly please open tickets or mail me! Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-01-15Merge commit 'cf70ba37ba74089a18295b29e77dead0a3222c9e'Michael Niedermayer
* commit 'cf70ba37ba74089a18295b29e77dead0a3222c9e': mov: Check angle rather than full matrix when updating SAR Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-01-15Merge commit '1e763454322f7fbc7799f6009bf2e11d7a3b9821'Michael Niedermayer
* commit '1e763454322f7fbc7799f6009bf2e11d7a3b9821': png: improve signature check Conflicts: libavcodec/pngdec.c See: 8a08503b78f59d61cf98b9deb99363e3e07d8599 See: 0a3589bf2f0a23b0eb68664fbb00078abe882a88 Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-01-15Merge commit '456ffec35d55288d589aa1901919e038c3427f30'Michael Niedermayer
* commit '456ffec35d55288d589aa1901919e038c3427f30': img2dec: correctly use the parsed value from -start_number No change, start_number works fine without this change and does not work with it Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-01-15opus_parser: drop unused variableVittorio Giovara
2015-01-15bsf: check memory allocationsVittorio Giovara
2015-01-15vp8: improve memory allocation checksVittorio Giovara
Check memory earlier, check one more allocation and clean up on error. CC: libav-stable@libav.org Bug-Id: CID 1257773
2015-01-14fate: add qp filter testMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-01-14avfilter: port qp filter from libmpcodecsPaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-01-14id3v2: fix reading v2.2 attached picturesAnton Khirnov
In v2.2, the picture type is not a zero-terminated string, but has a constant size of 3 bytes.
2015-01-14id3v2: add names to the parameters of ID3v2EMFunc.readAnton Khirnov
Some of them are not immediately obvious.
2015-01-14id3v2: constify the 'tag' parameter to special metadata parsing callbackAnton Khirnov
Those functions should not ever modify it.
2015-01-14tiff: support decoding GBRP and GBRAP formatsPaul B Mahol
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2015-01-14libswscale: GBRAP input & output and GBRAP16 input supportPaul B Mahol
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2015-01-14lavc: add GBRAP to avcodec_align_dimensions2Paul B Mahol
2015-01-14lavu: add planar 16 bit and 8 bit rgb with alphaPaul B Mahol
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2015-01-14imgutils: create misc functions for dealing with buffersStefano Sabatini
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>
2015-01-14mov: Check angle rather than full matrix when updating SARVittorio Giovara
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>
2015-01-14png: improve signature checkVittorio Giovara
Return proper error code, print an error message and add missing parentheses.
2015-01-14img2dec: correctly use the parsed value from -start_numberVittorio Giovara
Previously the image sequence was always starting from the minimum number rather than the requested one. CC: libav-stable@libav.org