summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* avformat/utils: avoid unsigned integer overflowsPaul B Mahol2020-02-161-4/+6
|
* avcodec: fix pcm zork decoderPaul B Mahol2020-02-1610-22/+73
| | | | Fixes #1939
* avformat/segafilmenc: Remove AVClassAndreas Rheinhardt2020-02-151-8/+0
| | | | | | | | | This muxer does not have any private options and so does not need a private class. Signed-off-by: Andreas Rheinhardt <[email protected]> Reviewed-by: Paul B Mahol <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* avformat/ftp: slightly rework file retrieval with seekingMarton Balint2020-02-151-29/+25
| | | | | | | | | | | - do not require a known file size for seek to work - read the files till the actual end, do not limit data at the queried file size - fix a bug which causes reading 0 byte files for non-existing files - properly check the return status of the FTP server at the end of the file retrieval Signed-off-by: Marton Balint <[email protected]>
* avformat/ftp: do not break protocol on username or password with newlinesMarton Balint2020-02-151-0/+6
| | | | Signed-off-by: Marton Balint <[email protected]>
* avformat/ftp: add support for escaped credentialsMarton Balint2020-02-152-10/+18
| | | | | | Properly fixes ticket #7816. Signed-off-by: Marton Balint <[email protected]>
* avformat/httpauth: do not decode plus sign to space in credentialsMarton Balint2020-02-151-2/+2
| | | | Signed-off-by: Marton Balint <[email protected]>
* avformat/urldecode: add the ability to not decode plus sign to spaceMarton Balint2020-02-153-5/+6
| | | | Signed-off-by: Marton Balint <[email protected]>
* avformat/http: escape unsafe URL path in HTTP requestMarton Balint2020-02-151-1/+35
| | | | | | | This avoids generating invalid HTTP requests if the path contains space or other special characters. Signed-off-by: Marton Balint <[email protected]>
* avformat/http: use AVBPrint to construct HTTP requestMarton Balint2020-02-151-55/+32
| | | | | | | v2: Use s->buffer for creating request (as the old code did) instead of the AVBPrint internal buffer. Some minor cosmetics. Signed-off-by: Marton Balint <[email protected]>
* avformat/http: make sure URL path contains a slashMarton Balint2020-02-151-3/+7
| | | | | | | | | It is explicitly required by the HTTP RFC. Without this patch URLs like http://example.com?query will not work. Fixes ticket #8466. Signed-off-by: Marton Balint <[email protected]>
* avformat/http: split the fragment part from the HTTP URL before the requestMarton Balint2020-02-151-0/+5
| | | | | | | | RFC 3986 states that the fragment identifier is separated from the rest of the URI prior to a dereference, and thus the identifying information within the fragment itself is dereferenced solely by the user agent. Signed-off-by: Marton Balint <[email protected]>
* avformat/utils: make av_url_split search for hashmark as well to separate ↵Marton Balint2020-02-153-11/+5
| | | | | | | | | | | hostname RFC 3986 states that the generic syntax uses the slash ("/"), question mark ("?"), and number sign ("#") characters to delimit components that are significant to the generic parser's hierarchical interpretation of an identifier. Signed-off-by: Marton Balint <[email protected]>
* avformat/tests/url: add av_url_split testsMarton Balint2020-02-152-0/+34
| | | | Signed-off-by: Marton Balint <[email protected]>
* avformat/tests/url: make format more readableMarton Balint2020-02-152-14/+16
| | | | Signed-off-by: Marton Balint <[email protected]>
* avformat/utils: Fix memleaks in avformat_open_input()Andreas Rheinhardt2020-02-151-6/+11
| | | | | | | | | | | | | | | A demuxer might have allocated memory while reading the header. If reading the header was successfull and an error happens before returning (e.g. when queueing the attached pictures), the read_close function would have never been called, so that all those allocations would leak. This commit changes this. Furthermore, there would be even more memleaks if the error level was set to AV_EF_EXPLODE in case there is both metadata and id3v2 metadata. This has been fixed, too. Signed-off-by: Andreas Rheinhardt <[email protected]> Signed-off-by: Marton Balint <[email protected]>
* compat/os2threads: define INCL_DOSERRORSDave Yeo2020-02-151-0/+1
| | | | | | | This is needed to pull in the define for ERROR_TIMEOUT Signed-off-by: Dave Yeo <[email protected]> Signed-off-by: Marton Balint <[email protected]>
* MAINTAINERS: Add myself as libzmq maintainerAndriy Gelman2020-02-151-0/+1
| | | | Signed-off-by: Marton Balint <[email protected]>
* avutil/hwcontext_d3d11va: Use secure dlopen.Matt Oliver2020-02-151-2/+3
| | | | dlopen contains additional security to prevent dll hijacking compared to standard LoadLibrary.
* avfilter/vf_phase: add >8 bit supportPaul B Mahol2020-02-152-148/+246
|
* avcodec: add cdtoons decoderAlyssa Milburn2020-02-159-2/+465
| | | | | | | This adds a decoder for Broderbund's sprite-based QuickTime CDToons codec, based on the decoder I wrote for ScummVM. Signed-off-by: Alyssa Milburn <[email protected]>
* avfilter/opencl: use av_fopen_utf8()Paul B Mahol2020-02-141-1/+1
|
* avfilter/vf_fieldhint: use av_fopen_utf8()Paul B Mahol2020-02-141-1/+1
|
* avfilter/vf_lut3d: use av_fopen_utf8()Paul B Mahol2020-02-141-2/+2
|
* avcodec/pcm_tablegen: nits, reindentPaul B Mahol2020-02-141-26/+26
|
* lavu/tx: improve 3-point fixed precisionLynne2020-02-142-9/+18
| | | | | There's just no reason not to when its so easy (albeit messy) and its also reducing the precision of all non-power-of-two transforms that use it.
* avcodec/dstdec: Use local channels variableMichael Niedermayer2020-02-141-7/+7
| | | | | Reviewed-by: Paul B Mahol <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* fftools/ffprobe: Remove unneeded castsAndreas Rheinhardt2020-02-141-10/+10
| | | | | Signed-off-by: Andreas Rheinhardt <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* avcodec/dvdsub: Fix warning about incompatible pointer typeAndreas Rheinhardt2020-02-141-1/+1
| | | | | | | | | | | | | | | Fixes "passing argument 2 of ‘strtoul’ from incompatible pointer type [-Wincompatible-pointer-types]" ("expected ‘char ** restrict’ but argument is of type ‘const char **’") for GCC and "passing 'const char **' to parameter of type 'char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers]" for Clang. The cast itself is safe; it is only needed because strtoul itself is not const-correct. Signed-off-by: Andreas Rheinhardt <[email protected]> Reviewed-by: Paul B Mahol <[email protected]> Signed-off-by: James Almer <[email protected]>
* avfilter/vf_remap: add fill color optionPaul B Mahol2020-02-142-3/+33
|
* avfilter: add pad opencl filterPaul B Mahol2020-02-149-1/+516
|
* avcodec/cbs_av1: add missing value constrains to point_y_value, ↵James Almer2020-02-131-3/+12
| | | | | | | | | | | point_cb_value and point_cr_value If i is greater than 0, it is a requirement of bitstream conformance that point_y_value[ i ] is greater than point_y_value[ i - 1 ]. If i is greater than 0, it is a requirement of bitstream conformance that point_cb_value[ i ] is greater than point_cb_value[ i - 1 ]. If i is greater than 0, it is a requirement of bitstream conformance that point_cr_value[ i ] is greater than point_cr_value[ i - 1 ]. Reviewed-by: Mark Thompson <[email protected]> Signed-off-by: James Almer <[email protected]>
* lavu/tx: slightly optimize fft15Lynne2020-02-131-2/+2
| | | | Saves 2 additions.
* lavu/tx: undef the correct macroLynne2020-02-131-1/+1
| | | | It was renamed and no warning was given for undeffing a nonexisting one.
* lavu/tx: implement 32 bit fixed point FFT and MDCTLynne2020-02-138-90/+172
| | | | | | | | | | | | | | | | | | | | Required minimal changes to the code so made sense to implement. FFT and MDCT tested, the output of both was properly rounded. Fun fact: the non-power-of-two fixed-point FFT and MDCT are the fastest ever non-power-of-two fixed-point FFT and MDCT written. This can replace the power of two integer MDCTs in aac and ac3 if the MIPS optimizations are ported across. Unfortunately the ac3 encoder uses a 16-bit fixed point forward transform, unlike the encoder which uses a 32bit inverse transform, so some modifications might be required there. The 3-point FFT is somewhat less accurate than it otherwise could be, having minor rounding errors with bigger transforms. However, this could be improved later, and the way its currently written is the way one would write assembly for it. Similar rounding errors can also be found throughout the power of two FFTs as well, though those are more difficult to correct. Despite this, the integer transforms are more than accurate enough.
* avcodec/midivid: only multiple of 4 width/height are possiblePaul B Mahol2020-02-131-0/+3
|
* avcodec/midivid: improve decoding of widths not multiple of 32Paul B Mahol2020-02-131-6/+8
|
* avcodec/h264_ps: Return error if pps has FMO parametersAndriy Gelman2020-02-121-1/+3
| | | | | | | FMO is not supported and fields related to FMO are not parsed, meaning that any fields which follow will be corrupt. Signed-off-by: James Almer <[email protected]>
* fftools/ffmpeg: Integrate two checksAndreas Rheinhardt2020-02-131-10/+10
| | | | | | | | | For audio packets with dts != AV_NOPTS_VALUEs the dts was converted twice to the muxer's timebase during streamcopy, once as a normal packet and once specifically as an audio packet. This has been changed. Signed-off-by: Andreas Rheinhardt <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* avcodec/avcodec: NitsAndreas Rheinhardt2020-02-131-3/+3
| | | | | Signed-off-by: Andreas Rheinhardt <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* avcodec/apedec: Fix invalid shift with 24 bpsMichael Niedermayer2020-02-121-1/+1
| | | | | | | | | Fixes: left shift of negative value -463 Fixes: 20542/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_APE_fuzzer-5688714435231744 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Reviewed-by: Paul B Mahol <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* avfilter/vf_xmedian: implement percentile optionPaul B Mahol2020-02-122-10/+24
|
* avfilter/vf_median: implement percentile optionPaul B Mahol2020-02-123-1/+8
|
* avcodec/h264_ps: Show VUI and SPS overread messages just once per frame threadMichael Niedermayer2020-02-122-1/+4
| | | | Signed-off-by: Michael Niedermayer <[email protected]>
* avutil/log: Add av_log_once() for printing a message just once with a high ↵Michael Niedermayer2020-02-124-1/+34
| | | | | | | | | log level Compared to ad-hoc if(printed) ... code this allows the user to disable it by adjusting the log level Signed-off-by: Michael Niedermayer <[email protected]>
* avformat/utils: Fix undefined behavior in ff_configure_buffers_for_index()Dale Curtis2020-02-111-1/+3
| | | | | | | | When e2_pts == INT64_MIN and e1_pts >= 0 the calculation of e2_pts - e1_pts will overflow an int64_t. Signed-off-by: Dale Curtis <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* avcodec/libvpxenc: add a way to explicitly set temporal layer idWonkap Jang2020-02-113-3/+24
| | | | | | | | | In order for rate control to correctly allocate bitrate to each temporal layer, correct temporal layer id has to be set to each frame. This commit provides the ability to set correct temporal layer id for each frame. Signed-off-by: James Zern <[email protected]>
* avfilter/vf_colorlevels: add support for commandsPaul B Mahol2020-02-112-1/+6
|
* avfilter/vf_colorkey: add support for commandsPaul B Mahol2020-02-112-1/+17
|
* libfdk-aacdec: Allow explicitly disabling the DRC reference level optionMartin Storsjö2020-02-112-3/+9
| | | | | | | | | Previously, it was always left in the automatic mode, if the option was set to the only special (negative) value. Now there's two separate special values for this option, -1 for automatic (metadata based) and -2 for explicitly disabled. Signed-off-by: Martin Storsjö <[email protected]>