- 23 Jul, 2016 2 commits
-
-
Luca Barbato authored
Avoid a warning for passing an unsigned value to abs(), some compilers might optimize away abs().
-
Luca Barbato authored
The range field has been introduced in version 1.6.0
-
- 22 Jul, 2016 14 commits
-
-
Anton Khirnov authored
-
Anton Khirnov authored
-
Anton Khirnov authored
It should only be done for DEVICE_BUSY/IN_EXECUTION
-
Anton Khirnov authored
Include the libmfx error code and its description
-
Anton Khirnov authored
Other parameters, like the display size, should still be taken from the codec context.
-
Anton Khirnov authored
-
Anton Khirnov authored
This will allow using this function for encoding as well, where the input format is already the semi-packed version.
-
Anton Khirnov authored
-
Anton Khirnov authored
Currently it's memset to 0, which is YUV420P. It should be initialized to none.
-
Anton Khirnov authored
Do not hardcode NV12. This allows 10bit decoding with -hwaccel qsv.
-
Anton Khirnov authored
This is required e.g. by HEVC.
-
Anton Khirnov authored
The setpts filter does not signal to the rest of the filtergraph that the stream is CFR. Just generate the timestamps manually instead.
-
Alexandra Hájková authored
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Hendrik Leppkes authored
According to the specification on the MSDN [1], 0 is valid for that particular field, and it should be ignored in that case. [1]: http://msdn.microsoft.com/en-us/library/windows/desktop/dd757714(v=vs.85).aspx Bug-Id: 950 Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
- 21 Jul, 2016 3 commits
-
-
Vittorio Giovara authored
This reverts commit 0e0538ae. The valgrind warning was a false positive due to OSX implementation of printf (invoking a strnlen), while this code is actually fine, since the format specifier %.*s guarantes that no more than buf_size bytes from buf will be read. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
-
Martin Storsjö authored
Clang normally disguises as GCC (defining __GNUC__), and thus get all the normal GCC specific attributes. Clang can also work as a drop-in replacement for MSVC, and in these cases, it doesn't define __GNUC__, but defines _MSC_VER instead. Even in these setups, it still supports the GCC style attributes, thus use them, especially where there isn't any MSVC specific version, or where the MSVC specific version doesn't work on clang (for DECLARE_ASM_CONST). Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
When targeting COFF (windows), clang doesn't support this directive (while binutils supports it for all targets). Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 20 Jul, 2016 21 commits
-
-
Vittorio Giovara authored
There are samples with invalid stsc that may work fine as is and do not need extradata change. So ignore any out of range index, and error out only when explode is set. Found-by: Matthieu Bouron <matthieu.bouron@stupeflix.com> Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
-
Vittorio Giovara authored
-
Matthieu Bouron authored
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
-
Vittorio Giovara authored
-
Vittorio Giovara authored
This will simplify the de-MpegEncContextualization.
-
Vittorio Giovara authored
-
Vittorio Giovara authored
-
Diego Biurrun authored
-
Fiona Glaser authored
-
Diego Biurrun authored
-
Diego Biurrun authored
-
Diego Biurrun authored
That code is only ever initialized with that flag set.
-
Diego Biurrun authored
-
Diego Biurrun authored
-
Diego Biurrun authored
-
Vittorio Giovara authored
-
Vittorio Giovara authored
Fixes valgrind warning "Conditional jump or move depends on uninitialised value(s)." from avio_flush().
-
Vittorio Giovara authored
Drop the packet embedded in the context.
-
Anton Khirnov authored
Found-By: Jan Ruge <jan.s.ruge@gmail.com> Bug-Id: 952
-
Anton Khirnov authored
The current code will ignore the init_get_bits() failure and do an invalid read from the uninitialized GetBitContext. Found-By: Jan Ruge <jan.s.ruge@gmail.com> Bug-Id: 952
-
Anton Khirnov authored
It does not break anything currently, but should not be done anyway.
-