summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* avcodec/cbs_av1: fix storage size for segmentation_params feature_value fieldsJames Almer2018-11-141-1/+1
| | | | | | | | The valid range is -255 to 255. Reviewed-by: Mark Thompson <[email protected]> Signed-off-by: James Almer <[email protected]> (cherry picked from commit 79831f4531d98c3c1eab96c10f1135d08abef5f3)
* configure: Add missing xlib dependency for VAAPI X11 codeMark Thompson2018-11-141-0/+1
| | | | | | Fixes #7538. (cherry picked from commit 2ce3a48f30fe3cec7153aa3f18a1012a366aca3a)
* avcodec/hevcdec: fix non-ref frame judgementMark Wu2018-11-101-2/+0
| | | | | | | | | | | | | After inspecting the source code of x265, mpv and ffmpeg, I've found that ffmpeg mistakenly regards EVC_NAL_BLA_N_LP and HEVC_NAL_IDR_N_LP as non- reference frames, which are acutally reference frames according to the specification in x265, and drops them. This patch should address the problem. I have tested it with mpv. Signed-off-by: Mark Wu <[email protected]> Signed-off-by: James Almer <[email protected]> (cherry picked from commit 10bc4c3a7df7bb26303067b97311b7eeedfd453e)
* cbs_av1: Support redundant frame headersn4.1Mark Thompson2018-11-053-12/+91
| | | | (cherry picked from commit f5894178fb8063ec17c61c04df96a70607ca2daa)
* cbs_av1: Fix header writing when already alignedMark Thompson2018-11-051-1/+1
| | | | (cherry picked from commit 6bdb7712ae0267ba4f69c7434d2b3dee12762d1d)
* configure: Add missing V4L2 M2M decoder BSF dependenciesMark Thompson2018-11-051-0/+2
| | | | (cherry picked from commit e9d2e3fdaacb6872dd689ffd5a65e476b70dee3d)
* configure: Add missing IVF muxer BSF dependencyMark Thompson2018-11-051-1/+1
| | | | (cherry picked from commit a4fb2b115071220f23ad7b3d82037647e94279ed)
* avcodec/cbs_av1: fix decoder/encoder_buffer_delay variable typesJames Almer2018-11-041-2/+2
| | | | | | | | | buffer_delay_length_minus_1 is five bits long, meaning decode_buffer_delay and encoder_buffer_delay can have values up to 32 bits long. Reviewed-by: Mark Thompson <[email protected]> Signed-off-by: James Almer <[email protected]> (cherry picked from commit 89a0d33e3a53e8edefd734b131a7035d13052947)
* configure: Fix av1_metadata BSF dependencyMark Thompson2018-11-041-1/+1
| | | | (cherry picked from commit 34429182b93123a25e38819ef15bdae42793209f)
* avformat/ivfenc: use the av1_metadata bsf to insert Temporal Delimiter OBUs ↵James Almer2018-11-042-0/+3
| | | | | | | | if needed Reviewed-by: Mark Thompson <[email protected]> Signed-off-by: James Almer <[email protected]> (cherry picked from commit 2d2af23349cae0d84c8ed51c249bfc1e6f2e28a2)
* avformat/ftp: allow nonstandard 202 reply to OPTS UTF8Marton Balint2018-11-041-2/+3
| | | | | | | Fixes ticket #7481. Signed-off-by: Marton Balint <[email protected]> (cherry picked from commit 8e5a2495a8dad262e0a00fbca09b7779b4ebf0bf)
* avcodec/cavsdec: Propagate error codes inside decode_mb_i()Michael Niedermayer2018-11-041-8/+21
| | | | | | | | | | Fixes: Timeout Fixes: 10702/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_CAVS_fuzzer-5669940938407936 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit c1cee0565692c541f589aefd7f375d37f55b9d94) Signed-off-by: Michael Niedermayer <[email protected]>
* avcodec/mpeg4videodec: Clear partitioned frame in decode_studio_vop_header()Michael Niedermayer2018-11-041-0/+1
| | | | | | | | | | | | partitioned_frame is also set/cleared in decode_vop_header() Fixes: out of array read Fixes: 9789/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MPEG4_fuzzer-5638681627983872 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit 074187d599a2ece2bdf77bd08b4b797c5800eda6) Signed-off-by: Michael Niedermayer <[email protected]>
* avcodec/mpegaudio_parser: Consume more than 0 bytes in case of the ↵Michael Niedermayer2018-11-041-1/+1
| | | | | | | | | | | | | unsupported mp3adu case Fixes: Timeout Fixes: 10966/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MP3ADU_fuzzer-5348695024336896 Fixes: 10969/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MP3ADUFLOAT_fuzzer-5691669402877952 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit df91af140c5543cfbbed187f696e79b554d2c135) Signed-off-by: Michael Niedermayer <[email protected]>
* avcodec/prosumer: Simplify bit juggling of the c variable in decompress()Michael Niedermayer2018-11-041-4/+2
| | | | | | | Reviewed-by: Paul B Mahol <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit 66425add270cd262a22c0fdaf6aad09a0db6f8c0) Signed-off-by: Michael Niedermayer <[email protected]>
* avcodec/prosumer: Remove always true check in decompress()Michael Niedermayer2018-11-041-1/+1
| | | | | | | Reviewed-by: Paul B Mahol <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit 1dfa0b6f36d29293f2d0219c4095dc8bb7a4b0dc) Signed-off-by: Michael Niedermayer <[email protected]>
* avcodec/prosumer: Remove unneeded ()Michael Niedermayer2018-11-041-1/+1
| | | | | | | Reviewed-by: Paul B Mahol <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit 506839a3e9cc34c8f719937430008fc12d132fce) Signed-off-by: Michael Niedermayer <[email protected]>
* avcodec/prosumer: Check for bytestream eof in decompress()Michael Niedermayer2018-11-041-1/+1
| | | | | | | | | | | Fixes: Infinite loop Fixes: 10685/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_PROSUMER_fuzzer-5652236881887232 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]> (cherry picked from commit 9acdf17b2c30c44e6e6a3d3b3c22989b7e1117c3) Signed-off-by: Michael Niedermayer <[email protected]>
* avfilter/vf_cuda_yadif: Avoid new syntax for vector initialisationPhilip Langdale2018-11-031-6/+9
| | | | | | This requires a newer version of CUDA than we want to require. (cherry picked from commit 8e50215b5e02074b0773dfcf55867654ee59c179)
* avcodec/nvdec: Increase frame pool size to help deinterlacingPhilip Langdale2018-11-031-1/+5
| | | | | | | | With the cuda yadif filter in use, the number of mapped decoder frames could increase by two, as the filter holds on to additional frames. (cherry picked from commit 1b41115ef70896d9b98ce842dc5f21c465396ce2)
* avfilter/vf_yadif_cuda: CUDA accelerated yadif deinterlacerPhilip Langdale2018-11-038-1/+785
| | | | | | | | This is a cuda implementation of yadif, which gives us a way to do deinterlacing when using the nvdec hwaccel. In that scenario we don't have access to the nvidia deinterlacer. (cherry picked from commit d5272e94ab22bfc8f01fa3174e2c4664161ddf5a)
* libavfilter/vf_yadif: Make frame management logic and options shareablePhilip Langdale2018-11-034-188/+228
| | | | | | | | | | | | | I'm writing a cuda implementation of yadif, and while this obviously has a very different implementation of the actual filtering, all the frame management is unchanged. To avoid duplicating that logic, let's make it shareable. From the perspective of the existing filter, the only real change is introducing a function pointer for the filter() function so it can be specified for the specific filter. (cherry picked from commit 598f0f39271d6033588b4d8ccc672c5bdc85fec7)
* fate/api-h264-slice-test: use cleaner error handlingJosh de Kock2018-11-031-32/+47
| | | | | Signed-off-by: James Almer <[email protected]> (cherry picked from commit 1052578dadf72e400cee5ad2ad5dce899032d362)
* fate/api-h264-slice-test: don't use ssize_tJosh de Kock2018-11-031-6/+3
| | | | | | | Fixes ticket #7521 Signed-off-by: James Almer <[email protected]> (cherry picked from commit 8096f52049acb1861645815a54435b9fd2d5e77a)
* RELEASE_NOTES: Based on the version from 4.0Michael Niedermayer2018-11-021-0/+15
| | | | Signed-off-by: Michael Niedermayer <[email protected]>
* Update for 4.1Michael Niedermayer2018-11-022-2/+2
| | | | Signed-off-by: Michael Niedermayer <[email protected]>
* Bump minor versions for branching 4.1Michael Niedermayer2018-11-028-10/+10
| | | | Signed-off-by: Michael Niedermayer <[email protected]>
* Changelog: next is 4.1Michael Niedermayer2018-11-011-1/+1
| | | | Signed-off-by: Michael Niedermayer <[email protected]>
* doc/APIchanges: Update for 4.1Michael Niedermayer2018-11-011-11/+13
| | | | Signed-off-by: Michael Niedermayer <[email protected]>
* avformat/ftp: return AVERROR_EOF for EOFMarton Balint2018-11-011-2/+2
| | | | | | Without this FTP just hangs on eof... Signed-off-by: Marton Balint <[email protected]>
* avdevice/libndi_newtek_dec: add extra_ips option to libndi_newtek allowing ↵Anton Platov2018-11-013-2/+21
| | | | | | | use remote network sources Signed-off-by: Anton Platov <[email protected]> Signed-off-by: Marton Balint <[email protected]>
* avdevice/decklink_dec: fix codec_tag of RGBA formatsBIGLER Don (Framatome)2018-11-011-2/+2
| | | | | | Fixes ticket #7505. Signed-off-by: Marton Balint <[email protected]>
* doc/filter: add some loop filter trivial examplesPaul B Mahol2018-11-011-0/+22
|
* avcodec/vdpau: Initialise driver version variable explicitlyPhilip Langdale2018-10-311-1/+1
| | | | | If the identification string ever changed, we might not match anything in the sscanf(). At least have predictable behaviour.
* cbs_h265: Add PTL parsing for Main 10 Still Picture profileMark Thompson2018-10-311-0/+5
| | | | This was added in the 2018 version of the standard.
* cbs_h264: Include SEI type names in trace outputMark Thompson2018-10-311-0/+16
|
* doc/fate.texi: Mention that samples should be uploaded before pushing ↵Michael Niedermayer2018-10-311-0/+2
| | | | | | dependent commits Signed-off-by: Michael Niedermayer <[email protected]>
* avfilter: add (a)graphmonitor filter(s)Paul B Mahol2018-10-316-1/+488
|
* avcodec/vdpau: Enable HEVC support for working Nvidia driver versionsManojGuptaBonda2018-10-301-2/+6
| | | | | | The driver bugs that caused decoded HEVC content to have an incorrect memory layout have been fully fixed in the 410.xx driver release so we can start exposing support.
* avcodec/cbs_vp9: store profile in the private contextJames Almer2018-10-302-7/+8
| | | | | | Derived from profile_low_bit and profile_high_bit. Signed-off-by: James Almer <[email protected]>
* avcodec/cbs_vp9: keep track of reference framesJames Almer2018-10-302-4/+72
| | | | Signed-off-by: James Almer <[email protected]>
* cbs_vp9: Ensure that reserved zero bits are actually zeroMark Thompson2018-10-303-5/+16
|
* doc/hls: fix grammar for HLS optionsWerner Robitza2018-10-301-5/+5
| | | | | | | | This fixes the grammar of two HLS option descriptions and makes them less ambiguous. Signed-off-by: Werner Robitza <[email protected]> Signed-off-by: Lou Logan <[email protected]>
* avcodec/libvpxdec: fix setting auto threadsJames Zern2018-10-291-2/+1
| | | | | | | | | | | a thread count of 0 is treated the same as 1, use av_cpu_count() to get the correct thread count when auto threads is requested. this matches the fix in libvpxenc: 27df34bf1f avcodec/libvpxenc: fix setting amount of threads used for encoding Reviewed-by: James Almer <[email protected]> Signed-off-by: James Zern <[email protected]>
* lavu/frame: Add error report if av_image_fill_pointers fail.Jun Zhao2018-10-301-4/+6
| | | | | | | Add error handle if av_image_fill_pointers fail. Signed-off-by: Jun Zhao <[email protected]> Reviewed-by: Michael Niedermayer <[email protected]>
* lavc/decode: Fix the error number report if av_image_fill_pointers fail.Jun Zhao2018-10-301-1/+1
| | | | | | | | | | -1 will be map to error number "EPERM", and will be map to the error message like "Error while decoding stream #0:0: Operation not permitted", it's a strange error message when debug update_frame_pool fail, now only return the error code from av_image_fill_pointers in case of av_image_fill_pointers failure. Signed-off-by: Jun Zhao <[email protected]>
* avformat/hlsenc.c: fix the output's duration smaller than input's in ↵Charles Liu2018-10-301-2/+1
| | | | | | | | | | sub-range mode. In fmp4 & sub-range mode, the output's duration always smaller than expected, because the size of the last #EXT-X-BYTERANGE is too small. Signed-off-by: Charles Liu <[email protected]> Signed-off-by: Steven Liu <[email protected]>
* avformat/hlsenc.c: the size of init.mp4 is zero.Charles Liu2018-10-301-0/+19
| | | | | | | | | | The size of init.mp4 is zero in fmp4 mode, when the input duraton smaller than the expected segment time. fix ticket: 7166 Signed-off-by: Charles Liu <[email protected]> Signed-off-by: Steven Liu <[email protected]>
* avformat/hlsenc.c: remove the useless variable fmp4_init_mode.Charles Liu2018-10-301-4/+0
| | | | | Signed-off-by: Charles Liu <[email protected]> Signed-off-by: Steven Liu <[email protected]>
* avformat/hlsenc.c: fix memory leak in fmp4 mode.Charles Liu2018-10-301-0/+1
| | | | | Signed-off-by: Charles Liu <[email protected]> Signed-off-by: Steven Liu <[email protected]>