summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | doc/APIchanges: mention a few more recently introduced and deprecated functionsJames Almer2018-02-071-2/+3
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | doc/APIchanges: fix a recent depreacted function nameJames Almer2018-02-071-1/+1
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | avformat: fix stream_segment muxer build dependenciesJames Almer2018-02-072-0/+5
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | avformat/hls: Support metadata updates from subdemuxersRichard Shaffer2018-02-071-0/+20
| | | | | | | | | | | | | | | | If a subdemuxer has the updated metadata event flag set, the metadata is copied to the corresponding stream. The flag is cleared on the subdemuxer and the appropriate event flag is set on the stream. Signed-off-by: wm4 <nfxjfg@googlemail.com>
* | lavfi: add a gitignore file for OpenCL compiled kernelsRostislav Pehlivanov2018-02-071-0/+1
| | | | | | | | Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* | avformat/fifo_test: remove network.h includeJames Almer2018-02-071-3/+4
| | | | | | | | | | | | It's not needed, and fixes compilation with network disabled. Signed-off-by: James Almer <jamrial@gmail.com>
* | doc/APIChanges: fix lavu version numbers in a few recent entriesJames Almer2018-02-061-3/+3
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | api: add missing version bumps and APIChanges entriesJames Almer2018-02-064-5/+10
| | | | | | | | | | | | | | | | | | avcodec bump missed in 7e8eba2d8755962d9dca5eade57bf8f591a73c0c avformat bump missed in ff46124b0df17a1d35249e09ae8eae9a61f16e04 and 0694d8702421e7aff1340038559c438b61bb30dd avdevice bump missed in 0fd475704e871ef3a535947596a012894bae3cbd Signed-off-by: James Almer <jamrial@gmail.com>
* | avformat/mov: add VP8 codec supportJames Almer2018-02-063-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | Demuxing only. Muxing is disabled as altref frame handling is not defined in the spec, and there's no way to know the presence of such frames during stream initialization. Based on a patch by Steven Liu. Fixes ticket #7000 Reviewed-by: Carl Eugen Hoyos <ceffmpeg@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* | avformat/Makefile: fix fifo and fifo_test muxer build objectsJames Almer2018-02-061-1/+2
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | avformat/bintext: Implement bin_probe()Michael Niedermayer2018-02-061-1/+48
| | | | | | | | | | | | Fixes misdetection of sbQ9.bin Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/ffv1: Support for RGBA64 and GBRAP16Jérôme Martinez2018-02-064-12/+41
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/libopus: support disabling phase inversion.Menno2018-02-063-0/+52
| | | | | | | | | | Signed-off-by: Menno <mrdegier@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | lavc/bsf: make BSF iteration the same as other iteratorsJosh de Kock2018-02-064-15/+26
| |
* | cmdutils: make use of new iteration APIsJosh de Kock2018-02-061-79/+43
| |
* | lavd: add new API for iterating input and output devicesJosh de Kock2018-02-0610-96/+252
| | | | | | | | | | This also adds an avpriv function to register devices in libavformat
* | lavf: add new API for iterating muxers and demuxersJosh de Kock2018-02-068-421/+567
| |
* | lavf: move fifo test muxer into separate fileJosh de Kock2018-02-064-114/+155
| | | | | | | | | | This fixes the fate-fifo-muxer test with the clarified removal of registering external formats.
* | lavf/rtp: replace linked list with arrayJosh de Kock2018-02-065-81/+100
| |
* | lavc: add new API for iterating codecs and codec parsersJosh de Kock2018-02-069-738/+966
| | | | | | | | Based on an unfinished patch by atomnuker.
* | avcodec/me_cmp: remove ff_me_cmp_init_static()Muhammad Faiz2018-02-056-31/+42
| | | | | | | | | | | | | | Precalculate and constify ff_square_tab. Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
* | avcodec/utvideodec: Fix bytes left check in decode_frame()Michael Niedermayer2018-02-051-1/+1
| | | | | | | | | | | | | | | | Fixes: out of array read Fixes: poc-2017.avi Found-by: GwanYeong Kim <gy741.kim@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | id3v2: fix unsynchronizationwm42018-02-041-12/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The ID3v2 "unsynchronization scheme" requires replacing any 0xFF 0x00 sequences with 0xFF. This has to be done on every byte of the source data, while the current code skipped a byte after a replacement. This meant 0xFF 0x00 0xFF 00 was translated to 0xFF 0xFF 0x00 instead of 0xFF 0xFF. It feels a bit messy to do this correctly with the avio use. But fortunately, this translation can be done in-place, so we can just do it in memory. Inspired by what taglib does. Also see 9ae80e6a9cefcab61e867256ba19ef78a4bfe0cb. (The sample file for that commit is gone, so it could not be retested.)
* | rtsp: rename certain options after a deprecation periodwm42018-02-043-2/+20
| | | | | | | | | | | | The "timeout" option name inherently clashes with the meaning of the HTTP libavformat protocol option with the same name. Rename it after a deprecation period to make it compatible with the HTTP one.
* | examples: Add a VA-API transcode example.Jun Zhao2018-02-043-0/+309
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Usage is: ./vaapi_transcode input_stream codec output_stream For example: - ./vaapi_transcode input.mp4 h264_vaapi output_h264.mp4 - ./vaapi_transcode input.mp4 vp8_vaapi output_vp8.ivf Does not handle resolution changes on the input stream. Signed-off-by: Jun Zhao <jun.zhao@intel.com> Signed-off-by: Liu, Kaixuan <kaixuan.liu@intel.com> Signed-off-by: Mark Thompson <sw@jkqxz.net>
* | avcodec: do not use init_static_data on some codecsMuhammad Faiz2018-02-043-11/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | They don't modify AVCodec, no needs to call it at register. They will be wasteful if these codecs are unused. Instead, call static data initialization at codecs' init. Benchmark: old: 51281340 decicycles in avcodec_register_all, 1 runs, 0 skips new: 6738960 decicycles in avcodec_register_all, 1 runs, 0 skips Reviewed-by: wm4 <nfxjfg@googlemail.com> Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
* | avcodec/wavpack: Fix integer overflow in FFABSMichael Niedermayer2018-02-031-1/+1
| | | | | | | | | | | | | | | | Fixes: negation of -2147483648 cannot be represented in type 'int'; cast to an unsigned type to negate this value to itself Fixes: 5396/clusterfuzz-testcase-minimized-6558555529281536 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avfilter/af_join: Fix crash in join filterNikolas Bowe2018-02-031-0/+3
| | | | | | | | | | | | | | Previously if ff_outlink_frame_wanted() returned 0 it could dereference a null pointer when trying to read nb_samples. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/ffv1enc: mark RGB48 support as non-experimentalJérôme Martinez2018-02-031-4/+0
| | | | | | | | | | | | Remove the 2nd mark, 1st mark was removed in 58e16a4 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | ffprobe: remove usage of deprecation warning removal pragmasJames Almer2018-02-021-2/+0
| | | | | | | | | | | | Fixes compilation in non Windows targets. Signed-off-by: James Almer <jamrial@gmail.com>
* | ffprobe: Initialize coded_width/heightZhong Li2018-02-021-0/+8
| | | | | | | | | | | | | | | | | | | | coded_width/height are unnitialized and will be overwritten by dec_ctx->width/height in avcodec_open2() This fixes tiket #6958. Signed-off-by: Zhong Li <zhong.li@intel.com> Signed-off-by: James Almer <jamrial@gmail.com>
* | librsvgdec: Fix frame clearing codeCalvin Walton2018-02-021-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | The existing code attempts to clear the frame by painting in OVER mode with transparent black - which is a no-op. As a result if you have many input frames (e.g. you're using a sequence of svg files), you'll start to see new frames drawn over old frames as memory gets re-used. Switch the code to paint using the CLEAR compositing operator, which fills every channel with 0 values (setting a source colour is not required).
* | fate: add id3v2 testRichard Shaffer2018-02-024-0/+15
| | | | | | | | | | | | Adds basic unit test for parsing ID3v2 tags. Signed-off-by: James Almer <jamrial@gmail.com>
* | configure: Remove carriage return ('\r') in Windows CC_IDENTXiaohan Wang2018-02-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently the Windows CC_IDENT is ended with '\r\n'. "head -n1" will not remove the '\r' and this is causing building error in Chromium. This CL adds "tr -d '\r'" to remove '\r' in the CC_IDENT string. Since in most cases '\r' only appears at the end of a string/line, this should work in most cases. See example: printf "hello\r\nworld\r\n" | head -n1 | hd 00000000 68 65 6c 6c 6f 0d 0a |hello..| printf "hello\r\nworld\r\n" | head -n1 | tr -d '\r' | hd 00000000 68 65 6c 6c 6f 0a |hello.| Also note a similar previous change at: https://lists.ffmpeg.org/pipermail/ffmpeg-cvslog/2013-October/069950.html Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/aacsbr_fixed: Fix overflows in rounding in sbr_hf_assemble()Michael Niedermayer2018-02-021-4/+5
| | | | | | | | | | | | | | | | Fixes: runtime error: signed integer overflow: 2052929346 + 204817098 cannot be represented in type 'int' Fixes: 5275/clusterfuzz-testcase-minimized-5367635958038528 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/exr: Fix memleaks in decode_header()Michael Niedermayer2018-02-021-26/+56
| | | | | | | | | | | | | | Fixes: 4793/clusterfuzz-testcase-minimized-5707366629638144 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/hls: store referer message in HLS http requestSteven Liu2018-02-011-1/+3
| | | | | | | | Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* | avformat/http: add referer option into httpSteven Liu2018-02-012-0/+11
| | | | | | | | | | add Referer message if referer have been set. Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* | avfilter: add comments for duplicate lineSteven Liu2018-02-013-0/+3
| | | | | | | | | | | | | | | | | | comment about the looks like a duplicate line. but that is used to reason x is expressed from y Suggested-by: Paul B Mahol Suggested-by: Michael Niedermayer Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* | avcodec/vc2enc: prevent bitrate overshootsRostislav Pehlivanov2018-01-311-8/+14
| | | | | | | | | | | | | | The rounding caused by the size scaler wasn't compensated for and the slice sizes grew beyond what is allowed per frame. Signed-off-by: Rostislav Pehlivanov <rpehlivanov@obe.tv>
* | avcodec/dirac_dwt: Fix several integer overflowsMichael Niedermayer2018-01-302-3/+3
| | | | | | | | | | | | | | | | Fixes: runtime error: signed integer overflow: -2146071175 + -268479557 cannot be represented in type 'int' Fixes: 5237/clusterfuzz-testcase-minimized-4569895275593728 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/indeo5: Do not leave frame_type set to an invalid valueMichael Niedermayer2018-01-301-0/+1
| | | | | | | | | | | | | | | | Fixes: null pointer dereference Fixes: 5264/clusterfuzz-testcase-minimized-4621956621008896 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/hevc_ps: Check log2_sao_offset_scale_*Michael Niedermayer2018-01-301-0/+5
| | | | | | | | | | | | | | | | Fixes: 4868/clusterfuzz-testcase-minimized-6236542906400768 Fixes: runtime error: shift exponent 126 is too large for 32-bit type 'int' Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/mediacodecdec: use ff_hevc_ps_uninit()James Almer2018-01-301-0/+2
| | | | | | | | | | | | Fixes memleaks. Signed-off-by: James Almer <jamrial@gmail.com>
* | avcodec/hevc_parser: use ff_hevc_decode_extradata() to parse extradataJames Almer2018-01-301-12/+9
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | avcodec/mpegaudio_parser: Skip APE tags when parsing mp3 packets.Dale Curtis2018-01-301-0/+7
| | | | | | | | | | | | | | | | | | Otherwise the decoder will throw "Missing header" errors when the packets are sent for decoding. This is similar to 89a420b71b5. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/mpegenc - fix typo in VBV warningGyan Doshi2018-01-301-1/+1
| | | | | | | | | | | | Default VBV buffer size is 230KB, not 130KB. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/Makefile: add missing opus.c dependency to opus encoderJames Almer2018-01-301-1/+1
| | | | | | | | | | | | Needed for ff_celt_quant_bands and ff_celt_bitalloc. Signed-off-by: James Almer <jamrial@gmail.com>
* | avcodec/mlp_parser: reindent after last commitJames Almer2018-01-291-46/+46
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | avcodec/mlp_parser: don't try to combine frames when full frames are providedJames Almer2018-01-291-0/+4
| | | | | | | | | | | | | | Attempting full frame reconstruction is unnecessary for non raw containers, so just skip it altogether. Signed-off-by: James Almer <jamrial@gmail.com>
OpenPOWER on IntegriCloud