- 18 Mar, 2018 20 commits
-
-
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 9 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>
-
James Almer authored
Re add AVOptions flags, using the new one meant for bsfs. This partially reverts commit f706cdda. Signed-off-by: James Almer <jamrial@gmail.com>
-
Jun Zhao authored
support dump bit stream filter options Signed-off-by: Jun Zhao <mypopydev@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
-
James Almer authored
Signed-off-by: James Almer <jamrial@gmail.com>
-
- 16 Mar, 2018 7 commits
-
-
James Almer authored
There's no need to allocate a new packet for it. Signed-off-by: James Almer <jamrial@gmail.com>
-
Paul B Mahol authored
Signed-off-by: Paul B Mahol <onemda@gmail.com>
-
Tobias Rapp authored
Adds the level prefix to all log messages, except those with level <= AV_LOG_QUIET as they seem to be used for flushing the log buffer. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
-
James Almer authored
Signed-off-by: James Almer <jamrial@gmail.com>
-
Jun Zhao authored
Support dump bit stream filter option in ffmpeg -h full and ffmpeg -h bsf=FooBar. Signed-off-by: Jun Zhao <mypopydev@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
Jun Zhao authored
enable dump bit stream filter and update opt fate test ref. Signed-off-by: Jun Zhao <mypopydev@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
Jun Zhao authored
add AV_OPT_FLAG_BSF_PARAM for bit stream filter options. Signed-off-by: Jun Zhao <mypopydev@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
- 15 Mar, 2018 4 commits
-
-
James Almer authored
Simplifies code. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
-
James Almer authored
Signed-off-by: James Almer <jamrial@gmail.com>
-
James Almer authored
* commit '49804dc2': configure: Use test_ prefix for helper functions that do not set variables Merged-by: James Almer <jamrial@gmail.com>
-
James Almer authored
* commit '8c893aa3': configure: Drop unnecessary variables, shifts, and quotes in helper functions Merged-by: James Almer <jamrial@gmail.com>
-