- 20 Mar, 2018 4 commits
-
-
James Almer authored
Also fixes one potential leak of side data in out if the av_packet_from_data() call fails. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
-
James Almer authored
It's owned by the caller. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
-
James Almer authored
There's no need to allocate a new packet for it. Signed-off-by: James Almer <jamrial@gmail.com>
-
Carl Eugen Hoyos authored
Do this for every frame to make sure dynamic filters do not cause crashes. Fixes ticket #7078.
-
- 19 Mar, 2018 2 commits
-
-
Mark Thompson authored
Fixes CID #1430176.
-
Yingming Fan authored
Signed-off-by: James Almer <jamrial@gmail.com>
-
- 18 Mar, 2018 28 commits
-
-
James Almer authored
Fixes compilation with some compilers. Reviewed-by: jkqxz Signed-off-by: James Almer <jamrial@gmail.com>
-
Jun Zhao authored
Signed-off-by: Jun Zhao <mypopydev@gmail.com> Signed-off-by: Mark Thompson <sw@jkqxz.net>
-
Jun Zhao authored
Signed-off-by: Jun Zhao <mypopydev@gmail.com> Signed-off-by: Mark Thompson <sw@jkqxz.net>
-
Jun Zhao authored
Signed-off-by: Jun Zhao <mypopydev@gmail.com> Signed-off-by: Mark Thompson <sw@jkqxz.net>
-
James Almer authored
There's no need to allocate a new packet for it. Signed-off-by: James Almer <jamrial@gmail.com>
-
Mark Thompson authored
Fixes building with VAAPI but not libdrm, which was broken by 389f4c3e. Just unconditionally include the header, since it doesn't depend on libdrm being present.
-
Mark Thompson authored
This can remove units with types in or not in a given set from a stream. For example, it can be used to remove all non-VCL NAL units from an H.264 or H.265 stream.
-
Mark Thompson authored
vaGetDisplayDRM() is required for this code to work, libdrm is not.
-
Mark Thompson authored
Use it as the set of codec IDs supported by the trace_headers BSF.
-
Mark Thompson authored
The SEI NAL is unused since 69062d0f, while the AUD NAL is small and would more sensibly be on the stack.
-
Mark Thompson authored
-
Mark Thompson authored
Apply the same logic as the previous patch to H.265. There are no cases which currently overflow here, but this is still more consistent.
-
Mark Thompson authored
The type of the result of a shift operation is unaffected by the type of the right operand, so some existing code overflows with undefined behaviour when the element length is 32. Add a helper macro to calculate the maximum value correctly and then use it everywhere this pattern appears. Found-by: Andreas Rheinhardt <andreas.rheinhardt@googlemail.com>
-
Felix Matouschek authored
In the previous implementation the first input or output device was skipped when device_next was called with prev = NULL Signed-off-by: Felix Matouschek <felix@matouschek.org> Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
-
Martin Vignali authored
-
Martin Vignali authored
test extract color and alpha with the three main kind of hap frame : - no snappy compression - snappy compression and one chunk - snappy compression and several chunks (16 here) like the bsf filter need to be used with vtag and encoder edition also test the information of the target mov for color and alpha
-
wm4 authored
If the string consists entirely of whitespace, this could in theory continue to write '\0' before the start of the memory allocation. In practice, it didn't really happen: the generic HTTP header parsing code already skips leading whitespaces, so the string is either empty, or consists a non-whitespace. (The generic code and the cookie code actually have different ideas about what bytes are whitespace: the former uses av_isspace(), the latter uses WHITESPACES. Fortunately, av_isspace() is a super set of the http.c specific WHITESPACES, so there's probably no case where the above assumption could have been broken.)
-
wm4 authored
It's trivial to craft a HTTP response that will make the code for skipping trailing whitespace access and possibly overwrite bytes outside of the memory allocation. Why this can happen is blindingly obvious: it accesses cstr[strlen(cstr)-1] without checking whether the string is empty.
-
wm4 authored
libavformat prints a warning that the cookie couldn't be parsed (see callers of parse_cookie()). This is obviously not true - it could be parsed, but was simply ignored. Don't return an error to avoid the warning.
-
wm4 authored
This adds a way for an API user to transfer QP data and metadata without having to keep the reference to AVFrame, and without having to explicitly care about QP APIs. It might also provide a way to finally remove the deprecated QP related fields. In the end, the QP table should be handled in a very similar way to e.g. AV_FRAME_DATA_MOTION_VECTORS. There are two side data types, because I didn't care about having to repack the QP data so the table and the metadata are in a single AVBufferRef. Otherwise it would have either required a copy on decoding (extra slowdown for something as obscure as the QP data), or would have required making intrusive changes to the codecs which support export of this data. The new side data types are added under deprecation guards, because I don't intend to change the status of the QP export as being deprecated (as it was before this patch too).
-
wm4 authored
Everything related to the QP data is deprecated, with qp_table_buf being an inconsistent exception. Some parts were under the deprecation guards, some not. It probably didn't even compile.
-
Steven Liu authored
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
-
Steven Liu authored
fix ticket: #7021 Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
-
Steven Liu authored
move fmp4_init_filename init in if else for first fmp4_init_filename set value operation. Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
-
Steven Liu authored
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
-
Steven Liu authored
fmp4_init_filename should append after base_output_dirname Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
-
Rodger Combs authored
-
Ravindra authored
-
- 17 Mar, 2018 6 commits
-
-
James Almer authored
They belong in avcodec. Signed-off-by: James Almer <jamrial@gmail.com>
-
James Almer authored
check_cpp_condition was not being called on some targets, which made schannel remain enabled even when it was not available Signed-off-by: James Almer <jamrial@gmail.com>
-
James Almer authored
* commit '83fef16b': configure: Add check_cpp_condition() helper function to simplify some expressions Merged-by: James Almer <jamrial@gmail.com>
-
James Almer authored
* commit 'a5e011c8': configure: Add check_cmd() helper function to simplify some expressions Merged-by: James Almer <jamrial@gmail.com>
-
Martin Vignali authored
the test in none mode can be let (they don't use libsnappy)
-
James Almer authored
Reviwed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
-