https://github.com/libav/libav

sort by:
Revision Author Date Message Commit Date
7b79330 Prepare for 12 Release 16 October 2016, 21:03:15 UTC
3155e05 rtmpproto: Send chunk size on the network channel This makes sure that e.g. Adobe FME actually reacts to it. As long as the value we've been sending is the default one (128), the bug hasn't been noticed. Signed-off-by: Martin Storsjö <martin@martin.st> (cherry picked from commit 8b5e0d17e70400eaf5dc3845b5c1df8b2b88d830) Signed-off-by: Anton Khirnov <anton@khirnov.net> 16 October 2016, 17:59:45 UTC
b4f65c0 rtmpproto: Lengthen the filename buffer when receiving streams Some applications such as Adobe FME append lots of parameters here, making it easily overflow the current limit. Signed-off-by: Martin Storsjö <martin@martin.st> (cherry picked from commit d6ded94036e43a04889f4ff2813a7f7dd60b82fe) Signed-off-by: Anton Khirnov <anton@khirnov.net> 16 October 2016, 17:59:31 UTC
25da35d rtmpproto: Check the return from ff_amf_read_string If this failed, we used to continue with an uninitialized filename buffer. CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st> (cherry picked from commit 7395784ba72742b6daa62d35db4028e09f3fdf06) Signed-off-by: Anton Khirnov <anton@khirnov.net> 16 October 2016, 17:59:12 UTC
abdef27 avformat/matroska: fix MatroskaVideoFieldOrder enum values The spec says 9: Interlaced with bottom field displayed first and top field stored first 14: Interlaced with top field displayed first and bottom field stored first And avcodec.h states AV_FIELD_TB, //< Top coded first, bottom displayed first AV_FIELD_BT, //< Bottom coded first, top displayed first Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net> (cherry picked from commit 6c31ba226968f12f898120dbb928dab34e03782b) Signed-off-by: Anton Khirnov <anton@khirnov.net> Conflicts: libavformat/version.h 16 October 2016, 17:07:58 UTC
0464c3c file protocol: handle the file: protocol string in file_check This is consistent with what file_open() does. CC: libav-stable@libav.org (cherry picked from commit 20b75970e43a030f959b17ff2dfd561174b6f24e) Signed-off-by: Anton Khirnov <anton@khirnov.net> 16 October 2016, 16:52:43 UTC
b7f4cc1 Prepare for 12_beta1 Release 02 October 2016, 20:33:03 UTC
7374965 Changelog: update for the release branch 02 October 2016, 19:39:52 UTC
efe2d12 APIchanges: fill in the missing hash 02 October 2016, 19:38:51 UTC
94e37e4 h264dec: support broken files with mp4 extradata/annex b data Bug-Id: 966 (cherry picked from commit 5bf2454e7cb03609b3ec1a3cf4c22427fe5f8e36) Signed-off-by: Anton Khirnov <anton@khirnov.net> 02 October 2016, 14:36:12 UTC
73da71e audiodsp/x86: clear the high bits of the order parameter on 64bit Also change shl to add, since it can be faster on some CPUs. CC: libav-stable@libav.org (cherry picked from commit 75d98e30afab61542faab3c0f11880834653bd6b) Signed-off-by: Anton Khirnov <anton@khirnov.net> 19 September 2016, 17:25:51 UTC
f4a7869 audiodsp/x86: fix ff_vector_clip_int32_sse2 This version, which is the only one doing two processing cycles per loop iteration, computes the load/store indices incorrectly for the second cycle. CC: libav-stable@libav.org (cherry picked from commit 1d6c76e11febb58738c9647c47079d02b5e10094) Signed-off-by: Anton Khirnov <anton@khirnov.net> 19 September 2016, 17:25:48 UTC
00effb6 rtsp: Fix a crash with the RTSP muxer This was introduced in bc2a32969e. The whole block that the statement was added to is only relevant when used as a demuxer, but the other statements there have had other if statements guarding them. Make sure to only run this whole block if being used as a demuxer. CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st> (cherry picked from commit df3795025337479a639cb3cd26c93a4e82ccd4db) Signed-off-by: Martin Storsjö <martin@martin.st> 15 September 2016, 13:11:38 UTC
64e3444 Prepare for 12_alpha2 Release 30 August 2016, 01:22:03 UTC
d4c7eb2 Changelog: Mention mov with multiple stsd Signed-off-by: Luca Barbato <lu_zero@gentoo.org> 30 August 2016, 01:09:29 UTC
8916fe5 High Definition Compatible Digital (HDCD) decoder filter, using libhdcd Signed-off-by: Burt P <pburt0@gmail.com> Signed-off-by: Diego Biurrun <diego@biurrun.de> Signed-off-by: Luca Barbato <lu_zero@gentoo.org> 30 August 2016, 01:09:29 UTC
4463e23 avprobe: Fix memory leak After init_opts() there needs to be an uninit_opts() call to free the swscale context and other buffers. Signed-off-by: Luca Barbato <lu_zero@gentoo.org> 30 August 2016, 01:09:29 UTC
ccaf636 mov: Remove old b-frame/video delay heuristic This was added before edts support existed, and is no longer valid. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org> 30 August 2016, 01:09:29 UTC
d0ceb29 mov: Remove ancient heuristic hack This breaks files with legitimate single-entry edit lists, and the hack, introduced in f03a081df09f9c4798a17d7e24446ed47924b11b, has no link to any known sample in its commit message. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org> 30 August 2016, 01:09:29 UTC
fa45805 libvpx: Cast a pointer to const to squelch a warning libavcodec/libvpxdec.c:100:57: warning: passing argument 3 of 'av_image_copy' from incompatible pointer type av_image_copy(picture->data, picture->linesize, img->planes, libavutil/imgutils.h:116:6: note: expected 'const uint8_t **' but argument is of type 'unsigned char **' void av_image_copy(uint8_t *dst_data[4], int dst_linesizes[4], 30 August 2016, 01:09:29 UTC
62b6547 vp56: Separate VP5 and VP6 dsp initialization VP5 has no arch-specific optimizations (nor will it get some in the future), so it makes no sense to try to share dsp init code with VP6. 30 August 2016, 01:09:29 UTC
a9de6b8 prores: Change type of stride parameters to ptrdiff_t This avoids SIMD-optimized functions having to sign-extend their line size argument manually to be able to do pointer arithmetic. Also adjust parameter names to be "linesize" everywhere. 30 August 2016, 01:09:29 UTC
2f924f6 cavs: Change type of stride parameters to ptrdiff_t ptrdiff_t is the correct type for array strides and similar. 30 August 2016, 01:09:28 UTC
fa0a2a7 vp8: Update some assembly comments left unchanged in bd66f073fe7286bd3c 30 August 2016, 01:09:28 UTC
6d289ff vp8: Change type of stride parameters to ptrdiff_t ptrdiff_t is the correct type for array strides and similar. 30 August 2016, 01:09:28 UTC
bee1bb6 vp56: Change type of stride parameters to ptrdiff_t This avoids SIMD-optimized functions having to sign-extend their line size argument manually to be able to do pointer arithmetic. 30 August 2016, 01:09:28 UTC
de0819f vp3: Change type of stride parameters to ptrdiff_t This avoids SIMD-optimized functions having to sign-extend their stride argument manually to be able to do pointer arithmetic. Also adjust parameter names to be "stride" everywhere. 30 August 2016, 01:09:28 UTC
0a6b750 doc: Document FATE option HWACCEL 30 August 2016, 01:09:28 UTC
eb5036b av1: Add codec_id and basic demuxing support Signed-off-by: Diego Biurrun <diego@biurrun.de> 30 August 2016, 01:09:28 UTC
1961cf8 rtpdec_mpeg4: validate fmtp fields 30 August 2016, 01:09:28 UTC
26366c1 configure: Set __MSVCRT_VERSION__to 0x0700 for MinGW This exposes some required functionality like _aligned_malloc() in the MinGW system headers, thus obviating the need for the memalign hack. 30 August 2016, 01:09:28 UTC
64c9dcc golomb: Drop disabled cruft 30 August 2016, 01:09:28 UTC
a4d35d5 simple_idct: arm: Drop disabled code variant 30 August 2016, 01:09:28 UTC
46af9fa simple_idct: x86: Drop disabled IDCT implementation This gem has been disabled since 2001. 30 August 2016, 01:09:28 UTC
2cb1916 dvbsubdec: Remove disabled, near-duplicate debug code 30 August 2016, 01:09:27 UTC
b83a7ad timefilter: test: Drop some disabled debug cruft 30 August 2016, 01:09:27 UTC
7a036a7 mpegvideo: Kill some disabled code 30 August 2016, 01:09:27 UTC
61add73 msmpeg4: Drop disabled debug cruft 30 August 2016, 01:09:27 UTC
a7f1618 mathops: Drop disabled alternative mid_pred() implementation 30 August 2016, 01:09:27 UTC
45e8aa5 nsv: Drop disabled cruft 30 August 2016, 01:09:27 UTC
5d23ac8 mjpegdec: Drop disabled code 30 August 2016, 01:09:27 UTC
7dcf9f7 faan(i)dct: Kill some disabled code 30 August 2016, 01:09:27 UTC
e743743 wc3movie: Drop unused cruft 30 August 2016, 01:09:27 UTC
1d13601 ffv1: Remove broken disabled cruft 30 August 2016, 01:09:27 UTC
3cc742e h264: Kill broken disabled cruft 30 August 2016, 01:09:27 UTC
23b5f54 aac: Drop broken cruft 30 August 2016, 01:09:27 UTC
6474fb7 jfdct: Kill broken cruft 30 August 2016, 01:09:27 UTC
fb7cfba rm: Drop broken disabled cruft 30 August 2016, 01:09:26 UTC
330889a roqvideoenc: Drop broken disabled cruft 30 August 2016, 01:09:26 UTC
ad18b22 pnm_parser: Drop broken disabled cruft 30 August 2016, 01:09:26 UTC
26a264e wma: Kill non-compiling disabled cruft 30 August 2016, 01:09:26 UTC
aed8de4 swscale: Kill non-compiling disabled cruft 30 August 2016, 01:09:26 UTC
ef5cbbd mpeg4videoenc: Kill non-compiling disabled cruft 30 August 2016, 01:09:26 UTC
573afb4 rangecoder: Kill non-compiling disabled cruft 30 August 2016, 01:09:26 UTC
92ef1d8 mathematics: Kill non-compiling disabled cruft 30 August 2016, 01:09:26 UTC
970ee29 vaapi_vc1: Remove redundant version check The lowest supported VAAPI version is 0.34 (checked at configure time), so this test is no longer needed. 30 August 2016, 01:09:26 UTC
e43bba6 vaapi_vc1: Constify pointers 30 August 2016, 01:09:26 UTC
034b69f vaapi_mpeg2: Constify pointers 30 August 2016, 01:09:26 UTC
13bdff6 vaapi_h264: Constify pointers 30 August 2016, 01:09:26 UTC
b640738 hwcontext_vaapi: Try the first render node as the default DRM device If no string argument is supplied when av_hwdevice_ctx_create() is called to create a VAAPI device, we currently only try the default X11 display (that is, $DISPLAY) to find a device, and will therefore fail in the absence of an X server to connect to. Change the logic to also look for a device via the first DRM render node (that is, "/dev/dri/renderD128"), which is probably the right thing to use in most simple configurations which only have one DRM device. 30 August 2016, 01:09:26 UTC
8c62342 mss12: validate display dimensions The code currently reads the coded dimensions from the extradata, but expects the display dimensions to be set by the caller, and does not check that they are compatible (i.e. that the displayed size is smaller than the coded size). Make sure that when the display dimensions are set, they are also valid. Fixes possible invalid memory access. CC: libav-stable@libav.org Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind (cherry picked from commit 6755eb5b212384e0599f7f2c5de42df49fff57de) Signed-off-by: Anton Khirnov <anton@khirnov.net> 19 August 2016, 06:26:58 UTC
987a068 vc1: check that slices have a positive height Fixes possible invalid reads. CC: libav-stable@libav.org Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind (cherry picked from commit 33f10546ec012ad4e1054b57317885cded7e953e) Signed-off-by: Anton Khirnov <anton@khirnov.net> 19 August 2016, 06:26:54 UTC
90acd24 pcx: use the bytestream2 API for reading from input Fixes possible invalid reads. CC: libav-stable@libav.org Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind (cherry picked from commit 09b23786b3986502ee88d4907356979127169bdd) Signed-off-by: Anton Khirnov <anton@khirnov.net> 19 August 2016, 06:26:52 UTC
cacc54f pcx: check that the packet is large enough before reading the header Fixes possible invalid reads. CC: libav-stable@libav.org Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind (cherry picked from commit 221402c1c88b9d12130c6f5834029b535ee0e0c5) Signed-off-by: Anton Khirnov <anton@khirnov.net> 19 August 2016, 06:26:41 UTC
6bf7ffa pcx: properly pad the scanline It is passed to the get_bits API, which requires buffers to be padded. Fixes possible invalid reads. CC: libav-stable@libav.org Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind (cherry picked from commit 15ee419b7abaf17f8c662c145fe93d3dbf43282b) Signed-off-by: Anton Khirnov <anton@khirnov.net> 19 August 2016, 06:26:38 UTC
3cef82a cook: use the bytestream2 API for reading extradata Fixes possible invalid reads in corrupted files. CC: libav-stable@libav.org Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind (cherry picked from commit 409d1cd2c955485798f8b0b0147c2b899b9144ec) Signed-off-by: Anton Khirnov <anton@khirnov.net> 19 August 2016, 06:26:34 UTC
5d7c9e1 qpeg: fix an off by 1 error in the MV check height - me_y is the line from which we read, so it must be strictly smaller than the frame height. Fixes possible invalid reads in corrupted files. Also, use a proper context for logging the error. CC: libav-stable@libav.org Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind (cherry picked from commit bba9d8bdfb208b0ec2ccf182530347151ee3528b) Signed-off-by: Anton Khirnov <anton@khirnov.net> 19 August 2016, 06:26:29 UTC
7191234 alac: do not return success if nothing was decoded If we encounter an END element before anything is decoded, we would return success even though the output frame has not been allocated, which is invalid. CC: libav-stable@libav.org Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind (cherry picked from commit 796dca027be09334d7bbf4f2ac1200e06bb054cb) Signed-off-by: Anton Khirnov <anton@khirnov.net> 19 August 2016, 06:26:20 UTC
7471cf1 vmnc: check that subrectangles fit into their containing rectangles Fixes possible invalid writes with corrupted files. CC: libav-stable@libav.org Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind (cherry picked from commit f5d46d332258dcd8ca623019ece1d5e5bb74142b) Signed-off-by: Anton Khirnov <anton@khirnov.net> 19 August 2016, 06:26:16 UTC
e39a4f9 Prepare for 12_alpha1 Release 12 August 2016, 20:37:15 UTC
f6d2fed avconv: Make sure that inputless filtergraphs are configured Unbreak `avconv -filter_complex testsrc`. Regression introduced in a3a0230a9870b9018dc7415ae5872784d524cfe5 12 August 2016, 09:41:58 UTC
602abe7 avconv: Check the fifo allocation 12 August 2016, 09:41:58 UTC
f2143c5 vp9: reindent after last commit 11 August 2016, 09:02:47 UTC
1730a67 vp9: add frame threading Signed-off-by: Anton Khirnov <anton@khirnov.net> 11 August 2016, 08:54:44 UTC
5b99545 vp9: allocate 'b', 'block/uvblock' and 'eob/uveob' dynamically. This will be needed for frame threading. Signed-off-by: Anton Khirnov <anton@khirnov.net> 11 August 2016, 08:54:20 UTC
bc6e0b6 vp9: split last/cur_frame from the reference buffers. We need more information from last/cur_frame than from reference buffers, so we can use a simplified structure for reference buffers, and then store mvs and segmentation map information in last/cur. This prepares the decoder for frame threading support. Signed-off-by: Anton Khirnov <anton@khirnov.net> 11 August 2016, 08:53:13 UTC
04763c6 h264_direct: use the reference mask from the actual reference Not from the underlying frame. Fixes races with frame threading in field-coded files, where decoding would wait for the wrong field (e.g. random failures in mixed-nal-coding). Bug-Id: 954 11 August 2016, 08:52:54 UTC
e9bfff1 lavc: free buffer_frame/pkt on avcodec_open2() failure Fixes memory leaks in some FATE tests. 11 August 2016, 08:52:13 UTC
ec021d4 buffer: fix av_buffer_pool_init2() documentation A non-existent av_buffer_pool_can_uninit() function is mentioned instead of av_buffer_pool_uninit(). Also, this function is to be called by the caller, not the pool itself. 11 August 2016, 08:29:23 UTC
0638b99 aiff: Skip padding byte for odd-sized chunks Bug-Id: 660 10 August 2016, 09:58:38 UTC
0df4801 vp9: make mv bounds 32bit. The frame dimensions are 16bit, so the mv bounds can easily overflow int16 for large videos. Bug-Id: Handbrake/46 CC: libav-stable@libav.org Signed-off-by: Anton Khirnov <anton@khirnov.net> 03 August 2016, 09:07:15 UTC
24a3625 buffer: fix av_buffer_realloc() when the data is offset wrt buffer start In such a case behave as if the buffer was not reallocatable -- allocate a new one and copy the data (preserving just the part described by the reference passed to av_buffer_realloc). CC: libav-stable@libav.org Reported-By: wm4 <nfxjfg@googlemail.com> 03 August 2016, 09:07:15 UTC
e99ecda checkasm: add vp9 MC tests. Signed-off-by: Anton Khirnov <anton@khirnov.net> 03 August 2016, 09:07:01 UTC
9790b44 vp9mc/x86: sse2 MC assembly. Also a slight change to the ssse3 code, which prevents a theoretical overflow in the sharp filter. Signed-off-by: Anton Khirnov <anton@khirnov.net> 03 August 2016, 09:04:51 UTC
67922b4 vp9mc/x86: add AVX and AVX2 MC Roughly 25% faster MC than ssse3 for blocksizes 32 and 64. Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net> 03 August 2016, 09:00:08 UTC
3cda179 vp9mc/x86: rename ff_* to ff_vp9_* Signed-off-by: Anton Khirnov <anton@khirnov.net> 03 August 2016, 08:57:55 UTC
8be8444 vp9mc/x86: rename ff_avg[48]_sse to ff_avg[48]_mmxext pavgb is an sse integer instruction, so the mmxext flag is enough Signed-off-by: James Almer <jamrial@gmail.com> Reviewed-by: "Ronald S. Bultje" <rsbultje@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net> 03 August 2016, 08:57:55 UTC
6ab642d vp9mc/x86: simplify a few inits. Signed-off-by: Anton Khirnov <anton@khirnov.net> 03 August 2016, 08:57:55 UTC
3a09494 vp9mc/x86: add 16px functions (64bit only). Signed-off-by: Anton Khirnov <anton@khirnov.net> 03 August 2016, 08:57:55 UTC
89466de vp9/x86: rename vp9dsp to vp9mc It only contains the MC SIMD, other SIMD will go into different files. 03 August 2016, 08:57:50 UTC
89aebc5 lavc: align the linesize to 32 when AVX is enabled 03 August 2016, 08:56:53 UTC
63ac8e2 lavu: add LOCAL_ALIGNED_32 Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net> 03 August 2016, 08:56:52 UTC
3c504bc x86: deduplicate some constants Signed-off-by: Anton Khirnov <anton@khirnov.net> 03 August 2016, 08:56:52 UTC
d3e4d40 h264dec: reset nb_slice_ctx_queued for hwaccel decoding Fixes hwaccel decoding of files with multiple slices. Found-By: Mark Thompson <sw@jkqxz.net> 03 August 2016, 08:56:52 UTC
e5b0197 m4vdec: Check for non-startcode 00 00 00 sequences in probe This makes the m4v detection less trigger-happy. Bug-Id: 949 Signed-off-by: Diego Biurrun <diego@biurrun.de> 03 August 2016, 06:27:02 UTC
3ccec33 sbrdsp: Move a misplaced #endif directive to the right spot 03 August 2016, 06:26:40 UTC
e723dce dvbsubdec: Use NULL instead of 0 as pointer value 03 August 2016, 06:26:40 UTC
fc94a1a Revert "libavutil: Use an intermediate variable in AV_COPY*U" This reverts commit 014773b66bdff4de24f384066d1a85d2a5bb6774. Since 230b1c070, the bytewise AV_W*() macros only expand their argument once, i.e. doing exactly the same change as was done in the AV_COPY*U macros, so this change is no longer necessary. Signed-off-by: Martin Storsjö <martin@martin.st> 02 August 2016, 18:18:18 UTC
9806b9a Revert "Don't use expressions with side effects in macro parameters" This reverts commit 25bacd0a0c32ae682e6f411b1ac9020aeaabca72. Since 230b1c070, the bytewise AV_W*() macros only expand their argument once, so revert to the more readable version of these. Signed-off-by: Martin Storsjö <martin@martin.st> 02 August 2016, 18:18:12 UTC
f79d847 intreadwrite: Use the __unaligned keyword on MSVC for ARM and x86_64 AV_WN64 is meant for unaligned data, but the existing av_alias* unions (without a definition for the av_alias attribute - we don't have one for MSVC) indicate to the compiler that they would have sufficient alignment for normal access, i.e. the compiler is free to assume 8 byte alignment. On ARM, this makes sure that AV_WN64 (or two consecutive AV_WN32) is done with two str instructions instead of one strd. Signed-off-by: Martin Storsjö <martin@martin.st> 02 August 2016, 08:33:23 UTC
back to top