summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* mpegvideo: Fix undefined negative shifts in ff_init_block_indexLuca Barbato2016-03-05
| | | | | | Found-by: gcc5-ubsan. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* idct8x8: Fix undefined negative shiftsKaterina Barone-Adesi2016-03-05
| | | | | | | | | | | The original code left-shifts negative values, which is undefined in the C99 specification (the one used during normal Libav compilation). This change multiplies by (1 << shift), which is functionally equivalent, but has defined behavior. With this change, fate-idct8x8 compiled with --fsanitize=undefined works. Bug-Id: 686
* vdpau: Add missing deprecation guardsVittorio Giovara2016-03-05
|
* mov: Trim dref absolute pathVittorio Giovara2016-03-05
| | | | | | | | | | | | | Samples produced by Omneon (Harmonic) store external references with paths ending with 0s. Such movs cannot be loaded properly since every 0 is converted to '/', to keep the same parsing code for dref type 2 and type 18: this makes the external reference point to a non-existing direactory, rather than to the actual referenced file. Add a brief trimming loop that drops all ending 0s before trying to parse the external reference path. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* avconv: remove sub-frame warningwm42016-03-05
| | | | | | It's not practical to keep this with the new decode API. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavc: factor apply_param_change() AV_EF_EXPLODE handlingwm42016-03-05
| | | | | | Remove the duplicated code for handling failure of apply_param_change(). Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavu: improve documentation of some AVFrame functionswm42016-03-05
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* 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.