summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* swscale/output: fix some code indentationsLinjie Fu2019-09-06
| | | | | Signed-off-by: Linjie Fu <linjie.fu@intel.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/vorbisdec: fix FASTDIV usage for vr_type == 2Michael Niedermayer2019-09-06
| | | | | | | | | | This reverts a hunk from f1ca40ee00402102046fc7e59606651930436b0e Fixes: out of array read Fixes: 16924/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VORBIS_fuzzer-5157893162139648 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavf/rawenc: Only accept the appropriate stream type for raw muxers.Carl Eugen Hoyos2019-09-06
| | | | | | This does not affect the rawvideo muxer. Fixes ticket #7979.
* x86/vf_v360: use a faster horizontal add in remap4_8bit_line_avx2James Almer2019-09-06
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* x86/vf_v360: make remap{1,2}_8bit_line_avx2 work on x86_32James Almer2019-09-06
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avfilter/vf_v360: add option to pick rotation orderPaul B Mahol2019-09-06
|
* avfilter/vf_v360: reduce allocations by reusing duplicated remapsPaul B Mahol2019-09-06
|
* avfilter/vf_v360: x86 SIMD for interpolationsPaul B Mahol2019-09-06
|
* avfilter/vf_v360: add asserts to guard against invalid conditionsPaul B Mahol2019-09-06
|
* avfilter/vf_v360: stop using floats in interpolationPaul B Mahol2019-09-06
|
* avfilter/vf_v360: rewrite storing of remap positions and interpolationsPaul B Mahol2019-09-06
| | | | In preparation of SIMD assembly.
* doc/filters: correct range for contrast in eq filterSourabh Sharma2019-09-06
| | | | | | Fixes #8111 Reviewed-by: Gyan Doshi <ffmpeg@gyani.pro>
* avformat/hlsenc: fix compiling error of hlsencSteven Liu2019-09-06
|
* avformat/hlsenc: fix code styleSteven Liu2019-09-06
| | | | Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* avformat/hlsenc: move the warning message from every segment upload to init partSteven Liu2019-09-06
| | | | Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* avformat/hlsenc: avformat/hlsenc: reopen new http session for http_persistentSteven Liu2019-09-06
| | | | | | | | fix ticket: 7975 Tested-by: Ian Klassen <ian@virtualfunc.com> Suggested-by: Ian Klassen <ian@virtualfunc.com> Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* avformat/http: add ff_http_get_shutdown_status api for check the status of ↵Steven Liu2019-09-06
| | | | | | | | | shutdown this function is used to get the previous shutdown status when reusing the old connection in block mode. Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* fate: add test for stream_loopGyan Doshi2019-09-05
| | | | Checks that seek to start indeed seeks to start.
* ffmpeg: switch to avformat_seek_file for stream_loopGyan Doshi2019-09-05
| | | | | Fixes stream_loop with very short files where seeking is generic index search
* avcodec/iff: Check for overlap in cmap_read_palette()Michael Niedermayer2019-09-05
| | | | | | | | Fixes: undefined memcpy() use Fixes: 16302/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_IFF_ILBM_fuzzer-5678750575886336 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/vqavideo: Limit resolutionMichael Niedermayer2019-09-05
| | | | | | | | Fixes: Timeout (288sec -> 1ms) Fixes: 16353/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VQA_fuzzer-5633402606190592 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/apedec: Fix 32bit int overflow in do_apply_filter()Michael Niedermayer2019-09-05
| | | | | | | | | Fixes: signed integer overflow: 2147480546 + 4096 cannot be represented in type 'int' Fixes: 16280/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_APE_fuzzer-5123442566758400 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Reviewed-by: Tomas Härdin <tjoppen@acc.umu.se> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* configure: fix --disable-v4l2-m2m can't workJun Zhao2019-09-05
| | | | | | | Use the command ./configure with/without --disable-v4l2-m2m test. Reviewed-by: Aman Gupta <aman@tmm1.net> Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
* configure: fix --disable-alsa can't workJun Zhao2019-09-05
| | | | | | fix --disable-alsa can't work in configure Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
* doc/filters: fix alphabetic order of some video filtersPaul B Mahol2019-09-05
|
* avutil/version: bump for hwcontext_videotoolbox api changeAman Gupta2019-09-04
| | | | | | | av_map_videotoolbox_format_from_pixfmt2() added in previous commit to support full-range pixel formats. Signed-off-by: Aman Gupta <aman@tmm1.net>
* avcodec/videotoolbox: add support for full range pixel formatsAkemi2019-09-04
| | | | Signed-off-by: Aman Gupta <aman@tmm1.net>
* avformat/mxfenc: fix warning: unused function 'klv_ber_length' ↵Limin Wang2019-09-04
| | | | | | [-Wunused-function] Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
* libavfilter/dnn: add header into native model fileGuo, Yejun2019-09-04
| | | | | Signed-off-by: Guo, Yejun <yejun.guo@intel.com> Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
* avformat/matroskadec: use av_fast_realloc to reallocate ebml list arraysJames Almer2019-09-04
| | | | | | | | | | Speeds up the process considerably. Fixes ticket #8109. Suggested-by: nevcairiel Suggested-by: cehoyos Signed-off-by: James Almer <jamrial@gmail.com>
* avformat/matroskadec: use proper types for some EbmlSyntax fieldsJames Almer2019-09-04
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/nuv: prevent frame copying when outputting duplicate framesJames Almer2019-09-04
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/wcmv: prevent frame copying when outputting duplicate framesJames Almer2019-09-04
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* Revert "avcodec/wcmv: Avoid copying frames if they are unchanged"James Almer2019-09-04
| | | | | | This reverts commit 976dae8b32f48d17cccfd6b19d2beb01770dfa7c. An alternative approach to reduce frame copying will follow.
* avcodec/wcmv: use ff_reget_buffer()James Almer2019-09-04
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/decode: add a flags parameter to ff_reget_buffer()James Almer2019-09-04
| | | | | | | | | | Some decoders may not need a writable buffer in some specific cases, but only a reference to the existing buffer with updated frame properties instead, for the purpose of returning duplicate frames. For this, the FF_REGET_BUFFER_FLAG_READONLY flag is added, which will prevent potential allocations and buffer copies when they are not needed. Signed-off-by: James Almer <jamrial@gmail.com>
* avformat/mpegts: Check if ready on SCTE receptionAnthony Delannoy2019-09-03
| | | | | | | | On some DVB stream SCTE-35 data packet are available before the end of MpegTSContext initialization. We have to check if it is the case to avoid a SEGFAULT. Signed-off-by: Marton Balint <cus@passwd.hu>
* configure: ensure --enable-omx-rpi uses rpi-specific IL headersAman Gupta2019-09-03
| | | | | | | | | | | | When compiling natively on an RPI where libomxil-bellagio-dev was also installed, `check_headers OMX_Core.h` succeeded and the -isystem compiler flag was never added to the build. For non-native builds, the error message now mentions the raspberrypi/firmware repository where the RPI specific headers are available. Signed-off-by: Aman Gupta <aman@tmm1.net>
* avcodec/v4l2_m2m: fix minor indentation issueAman Gupta2019-09-02
|
* avcodec/v4l2_m2m: use log_ctx variable consistentlyAman Gupta2019-09-02
| | | | Signed-off-by: Aman Gupta <aman@tmm1.net>
* avcodec/v4l2_m2m: log planar mode used by driverAman Gupta2019-09-02
| | | | Signed-off-by: Aman Gupta <aman@tmm1.net>
* avcodec/v4l2_context: use EAGAIN to signal when input buffers are unavailableAman Gupta2019-09-02
| | | | | | | | ENOMEM indicates an allocation failure, and there are no allocations happening here. The buffers are pre-allocated and there are simply none available at this time. Signed-off-by: Aman Gupta <aman@tmm1.net>
* avcodec/v4l2m2m: fix error handling during buffer initJorge Ramirez-Ortiz2019-09-02
| | | | | Signed-off-by: Jorge Ramirez-Ortiz <jramirez@baylibre.com> Signed-off-by: Aman Gupta <aman@tmm1.net>
* avcodec/v4l2_buffers: return int64_t in v4l2_get_ptsLukas Rusak2019-09-02
| | | | | | v4l2_pts is type int64_t we should return that instead of uint64_t Signed-off-by: Aman Gupta <aman@tmm1.net>
* avcodec/v4l2_context: return {decoder,encoder}_cmd errorsAman Gupta2019-09-02
| | | | Signed-off-by: Aman Gupta <aman@tmm1.net>
* avcodec/v4l2_m2m_enc: fix typo in log messageAman Gupta2019-09-02
| | | | Signed-off-by: Aman Gupta <aman@tmm1.net>
* avcodec/v4l2_m2m_enc: log errno on v4l2_set_ext_ctrl failuresAman Gupta2019-09-02
| | | | Signed-off-by: Aman Gupta <aman@tmm1.net>
* avcodec/v4l2_buffers: fix minor typos and whitespaceAman Gupta2019-09-02
| | | | Signed-off-by: Aman Gupta <aman@tmm1.net>
* avcodec/v4l2_context: log VIDIOC_REQBUFS failuresAman Gupta2019-09-02
| | | | Signed-off-by: Aman Gupta <aman@tmm1.net>
* avcodec/v4l2_m2m: remove trailing whitespace in output identifierAman Gupta2019-09-02
| | | | Signed-off-by: Aman Gupta <aman@tmm1.net>