- 05 Jan, 2017 1 commit
-
-
Anton Khirnov authored
If a read fails, the current code will free the data but leave the size non-zero. Make sure the size is zeroed in such a case. CC: libav-stable@libav.org Bug-Id: 1001 Found-By: Kamil Frankowicz Signed-off-by: Sean McGovern <gseanmcg@gmail.com>
-
- 04 Jan, 2017 2 commits
-
-
Jun Zhao authored
In H.264 section 8.2.1, we have that "The bitstream shall not contain data that result in Min(TopFieldOrderCnt, BottomFieldOrderCnt) not equal to 0 for a coded IDR frame". This fixes the encoder to always conform to this - previously the POC values formed an unbroken sequence, not resetting to zero on IDR frames. Signed-off-by: Mark Thompson <sw@jkqxz.net>
-
Mark Thompson authored
10-bit surface support was added in libva 1.6.2, earlier versions support H.265 encoding in 8-bit only.
-
- 03 Jan, 2017 3 commits
-
-
Martin Storsjö authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 01 Jan, 2017 1 commit
-
-
Sean McGovern authored
CC: libav-stable@libav.org
-
- 30 Dec, 2016 1 commit
-
-
Diego Biurrun authored
This fixes includedir lines in pkg-config files broken after 92db5083.
-
- 29 Dec, 2016 2 commits
-
-
Martin Storsjö authored
Use a tab instead of two spaces, skip the fate prefix for the test name. This makes IGNORE line fit in even better with the other make printouts. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Otherwise the .rep file would still contain a signal instead of a zero, even if the process returned success. Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 28 Dec, 2016 2 commits
-
-
Janne Grunau authored
This can be useful to filter out noise in known-broken scenarios like miscompilation by legacy compilers and similar. Originally based on a patch by Diego Biurrun. Signed-off-by: Diego Biurrun <diego@biurrun.de>
-
Diego Biurrun authored
The (required) version numbers disappeared after edb43487.
-
- 25 Dec, 2016 1 commit
-
-
Diego Biurrun authored
-
- 24 Dec, 2016 1 commit
-
-
John Stebbins authored
The codec id for SRT was changed and conditionals were not updated.
-
- 23 Dec, 2016 2 commits
-
-
Martin Storsjö authored
A negative chunk size is illegal and would end up used as length for memcpy, where it would lead to memory accesses out of bounds. Found-by: Paul Cher <paulcher@icloud.com> CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
-
Diego Biurrun authored
-
- 22 Dec, 2016 3 commits
-
-
Diego Biurrun authored
This moves work from the configure to the Make stage where it can be parallelized and ensures that pkgconfig files are updated when library versions change. Bug-Id: 449
-
Diego Biurrun authored
This moves work from the configure to the Make stage where it can be parallelized and ensures that shared libraries are built with the right version number in the filename.
-
Diego Biurrun authored
This unclutters the top-level directory and groups related files together.
-
- 21 Dec, 2016 2 commits
-
-
Diego Biurrun authored
-
Ruta Gadkari authored
By default it is -1. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-
- 19 Dec, 2016 16 commits
-
-
Martin Storsjö authored
This fixes build failures for iOS, broken since cad42fad. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Alexandra Hájková authored
-
Alexandra Hájková authored
-
Alexandra Hájková authored
-
Anton Khirnov authored
Calling ff_h264_field_end() when the per-field state is not properly initialized leads to all kinds of undefined behaviour. CC: libav-stable@libav.org Bug-Id: 977 978 992
-
Anton Khirnov authored
For field picture, the first_field is set based on its previous value. Before this commit, first_field is set when reading the picture coding extension. However, in corrupted files there may be multiple picture coding extension headers, so the final value of first_field that is actually used during decoding can be wrong. That can lead to various undefined behaviour, like predicting from a non-existing field. Fix this problem, by setting first_field in mpeg_field_start(), which should be called exactly once per field. CC: libav-stable@libav.org Bug-ID: 999
-
Anton Khirnov authored
CC: libav-stable@libav.org Bug-Id: 981 Found-By: Agostino Sarubbo
-
Anton Khirnov authored
CC: libav-stable@libav.org Bug-Id: 981 Found-By: Agostino Sarubbo
-
Anton Khirnov authored
When the input string is too large, so the second condition in if () fails, the code will erroneously execute the else branch, indexing the mac_to_unicode table with a negative index. CC: libav-stable@libav.org Bug-Id: 1000 Found-By: Kamil Frankowicz
-
Anton Khirnov authored
-
Anton Khirnov authored
Partially based on a patch by Timo Rothenpieler <timo@rothenpieler.org>. Additional scaling list handling fix by Jun Zhao <mypopydev@gmail.com>.
-
Anton Khirnov authored
-
Anton Khirnov authored
Certain hardware decoding APIs are not guaranteed to be thread-safe, so having the user access decoded hardware surfaces while the decoder is running in another thread can cause failures (this is mainly known to happen with DXVA2). For such hwaccels, only allow the decoding thread to run while the user is inside a lavc decode call (avcodec_send_packet/receive_frame).
-
Anton Khirnov authored
-
Anton Khirnov authored
It should only be set after the decoder state has been fully initialized for using that SPS. Fixes possible invalid reads on get_format() failure. CC: libav-stable@libav.org
-
Anton Khirnov authored
This mapping has nothing to do with decoder implementations, so using decoder names is wrong.
-
- 16 Dec, 2016 3 commits
-
-
Diego Biurrun authored
This allows enabling or disabling the library-related variables from within the function instead of doing it manually outside of it.
-
Diego Biurrun authored
Check for and link against user32 instead, which also fixes the missing dependency of dxva2 on user32 with MSVC.
-
Steve Lhomme authored
Without any optimization flags, MSVC does no dead code elimination (DCE) at all, even for the most trivial cases. DCE is a prerequisite for building libav correctly, otherwise there are undefined references to functions for other architectures and disabled components. -O1 is the minimal optimization flag for MSVC that does include DCE.
-