summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* asfenc: remove an unused variableAnton Khirnov2016-03-05
|
* asfenc: fix some possible integer overflowsAnton Khirnov2016-03-05
| | | | | | | | | | Store the file duration in the same timebase it arrives (i.e. milliseconds) and only convert it to the file duration units (100ns) when it's actually written, thus simplifying some calculations. Also, store the duration as unsigned, since it cannot be negative. CC: libav-stable@libav.org Bug-ID: CVE-2016-2326
* avformat_find_stream_info: move duration guessing after updating codec ↵Anton Khirnov2016-03-04
| | | | | | | | parameters This bitrate might not be known otherwise. Bug-Id: 926
* fate: Add separate target for all indeo3 testsDiego Biurrun2016-03-01
|
* fate: Add test for indeo2 with delta framesVittorio Giovara2016-03-01
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* indeo2: Fix banding artefactsLuca Barbato2016-03-01
| | | | | | | | Rename luma table to delta table and change how it is used. CC: libav-stable@libav.org Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> Signed-off-by: Diego Biurrun <diego@biurrun.de>
* indeo2data: K&R formatting cosmeticsLuca Barbato2016-03-01
| | | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> Signed-off-by: Diego Biurrun <diego@biurrun.de>
* fft: Split MDCT bits off from FFTDiego Biurrun2016-03-01
|
* sdp: fix opus sprop-stereo fmtp syntaxMark Harris2016-03-01
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* fate: fft: Split DCT/FFT/MDCT/RDFT tests into separate targetsDiego Biurrun2016-02-26
|
* rdft: arm: Split RDFT initialization into a separate fileDiego Biurrun2016-02-26
|
* fft: arm: Drop unnecessary #include, add missing onesDiego Biurrun2016-02-26
|
* fft: x86: cosmetics: Drop silly comments, add comment, whitespaceDiego Biurrun2016-02-26
|
* qsv: Move down the implementation queryLuca Barbato2016-02-26
| | | | | The plugin loaded may not match the general implementation capability wise.
* avpacket: properly reset data/size in av_packet_move_ref()Anton Khirnov2016-02-26
| | | | | It currently just calls av_init_packet(), which does not touch those fields.
* avprobe: switch to codecparAnton Khirnov2016-02-26
|
* avprobe: add local per-stream stateAnton Khirnov2016-02-26
| | | | This will be useful in the following commits.
* avprobe: add local per-file stateAnton Khirnov2016-02-26
| | | | | Do not pass just a bare AVFormatContext pointer around, wrap it in struct. This will be useful in the following commits.
* mpegvideo_enc: use avcodec_free_context() instead of av_free()Anton Khirnov2016-02-26
|
* avprobe: print information from the codec descriptorAnton Khirnov2016-02-26
| | | | | avprobe is not doing any decoding, so this is more correct than printing information from a random codec implementation.
* avprobe: remove a pointless condition and a dead branchAnton Khirnov2016-02-26
| | | | AVStream.codec is always non-NULL
* APIchanges: add missing hashes and datesAnton Khirnov2016-02-26
| | | | Also, remove a stray line (apparently fallout from conflict resolution).
* lavf: add a missing bump and APIchanges for the codecpar switchAnton Khirnov2016-02-26
|
* vc1dec: Check group allocations separatedlyVittorio Giovara2016-02-25
| | | | This avoids accessing NULL pointers in case of error.
* vc1dec: Fix leak on error for array allocationsVittorio Giovara2016-02-25
| | | | | The deinit function in the 'error' section will correctly free everything.
* vc1dec: Properly call deinit function on errorVittorio Giovara2016-02-25
|
* vc1dec: Drop commented out cruftVittorio Giovara2016-02-25
|
* img2: Drop av_ prefix for a static functionVittorio Giovara2016-02-24
| | | | | | This prefix is reserved for public functions only. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* idct: Only build prores IDCT if ProRes decoder is enabledDiego Biurrun2016-02-24
|
* qsvdec: store the sync point in heap memoryAnton Khirnov2016-02-24
| | | | The reasoning is the same as for the corresponding qsvenc patch.
* qsvenc: store the sync point in heap memoryMaxym Dmytrychenko2016-02-24
| | | | | | | | The QSV runtime expects the sync point address passed to MFXVideoENCODE_EncodeFrameAsync() to be valid until MFXVideoCORE_SyncOperation(). Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vsrc_movie: convert to codecparAnton Khirnov2016-02-24
|
* examples/transcode_aac: convert to codecparAnton Khirnov2016-02-24
|
* examples/qsvdec: convert to codecparAnton Khirnov2016-02-24
|
* examples/output: convert to codecparAnton Khirnov2016-02-24
|
* avplay: convert do codecparAnton Khirnov2016-02-24
|
* avplay: do not use AVStream.codec for decodingAnton Khirnov2016-02-24
| | | | | AVStream.codec is now deprecated. Allocate a separate codec context instead.
* avconv: convert to codecparAnton Khirnov2016-02-23
| | | | | The switch is not yet complete because the parsers and the bistream filters do not have a new AVCodecParam-based API yet.
* avconv: switch opening decoders and encodersAnton Khirnov2016-02-23
| | | | | | Open decoders first, next encoders. This makes sure that that subtitle_header is always set properly, without relying on avformat_find_stream_info() setting it.
* lavf: replace AVStream.codec with AVStream.codecparAnton Khirnov2016-02-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, AVStream contains an embedded AVCodecContext instance, which is used by demuxers to export stream parameters to the caller and by muxers to receive stream parameters from the caller. It is also used internally as the codec context that is passed to parsers. In addition, it is also widely used by the callers as the decoding (when demuxer) or encoding (when muxing) context, though this has been officially discouraged since Libav 11. There are multiple important problems with this approach: - the fields in AVCodecContext are in general one of * stream parameters * codec options * codec state However, it's not clear which ones are which. It is consequently unclear which fields are a demuxer allowed to set or a muxer allowed to read. This leads to erratic behaviour depending on whether decoding or encoding is being performed or not (and whether it uses the AVStream embedded codec context). - various synchronization issues arising from the fact that the same context is used by several different APIs (muxers/demuxers, parsers, bitstream filters and encoders/decoders) simultaneously, with there being no clear rules for who can modify what and the different processes being typically delayed with respect to each other. - avformat_find_stream_info() making it necessary to support opening and closing a single codec context multiple times, thus complicating the semantics of freeing various allocated objects in the codec context. Those problems are resolved by replacing the AVStream embedded codec context with a newly added AVCodecParameters instance, which stores only the stream parameters exported by the demuxers or read by the muxers.
* lavc: add a variant of av_get_audio_frame_duration working with ↵Anton Khirnov2016-02-23
| | | | AVCodecParameters
* lavc: add codec parameters APIAnton Khirnov2016-02-23
| | | | | | This API is intended to allow passing around codec parameters without using full AVCodecContext (which also contains codec options and encoder/decoder state).
* x86: hevc: Fix linking with both yasm and optimizations disabledDiego Biurrun2016-02-23
| | | | | Some optimized functions reference optimized symbols, so the functions must be explicitly disabled when those symbols are unavailable.
* fate: Ignore errors from concatenating report filesDiego Biurrun2016-02-23
| | | | Some files may be missing for valid reasons, e.g. on compile failure.
* fate: Be silent when fetching Git updatesDiego Biurrun2016-02-23
|
* mpeg12enc: always write closed gops for intra only outputsMarton Balint2016-02-22
| | | | | Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Marton Balint <cus@passwd.hu>
* h264: Add an AVClass pointer to H264ContextMichael Niedermayer2016-02-22
| | | | | | | Sample-Id: asan_heap-uaf_3660f67_757_cov_1257014655_Hi422FR1_SONY_A.jsv Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* libx264: Fix noise_reduction option assignmentVittorio Giovara2016-02-22
| | | | | First check the context, then check internal option. Drop the ! typo. Introduced in 60f0fde3092d18d4d36555962c192af8691a099c.
* lavf: add a protocol whitelist/blacklist for file opened internallyAnton Khirnov2016-02-22
| | | | | | | | Should make the default behaviour safer for careless callers that open random untrusted files. Bug-Id: CVE-2016-1897 Bug-Id: CVE-2016-1898
* urlprotocol: receive a list of protocols from the callerAnton Khirnov2016-02-22
| | | | | This way, the decisions about which protocols are available for use in any given situations can be delegated to the caller.