summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* dct-test: factor out some common code and do whas was likely intendedMans Rullgard2011-09-21
| | | | | | | This fixes some nonsensical code by moving some should-be-shared code to separate functions and using these. Signed-off-by: Mans Rullgard <mans@mansr.com>
* doc: library versions need to be bumped in version.hDiego Biurrun2011-09-21
|
* Revert "ffmpeg: get rid of useless AVInputStream.nb_streams."Anton Khirnov2011-09-21
| | | | | | | This reverts commit 2cf8355f98681bdd726b739008acd5483f82f8d7. AVInputStream.nb_streams tracks number of streams found at the beginning, new streams may appear that ffmpeg doesn't know about. Fixes crash in this case.
* Remove some forgotten AVCodecContext.palctrl usage.Anton Khirnov2011-09-21
|
* lavc/utils: move avcodec_init() higher in the file.Anton Khirnov2011-09-21
| | | | Fixes build on next major bump.
* lavc: replace some deprecated FF_*_TYPE with AV_PICTURE_TYPE_*Anton Khirnov2011-09-21
|
* ac3dec: actually use drc_scale private optionAnton Khirnov2011-09-21
|
* lavc: undeprecate AVPALETTE_SIZE and AVPALETTE_COUNT macrosAnton Khirnov2011-09-21
| | | | They are still being used and shouldn't be removed.
* alsa: add missing headerAnton Khirnov2011-09-21
| | | | Fixes compile with next lavc major.
* msmpeg4: remove leftover unused debug variable declarationDiego Biurrun2011-09-21
|
* Fix assert() calls that need updates after FF_COMMON_FRAME macro elimination.Diego Biurrun2011-09-21
| | | | This fixes build failures with -DDEBUG in CPPFLAGS.
* Fix av_dlog invocations with wrong or missing logging context.Diego Biurrun2011-09-21
| | | | This fixes build failures with -DDEBUG in CPPFLAGS.
* vf_yadif: add support to yuva420pStefano Sabatini2011-09-21
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vf_yadif: correct documentation on the parity parameterStefano Sabatini2011-09-21
| | | | | | | 0 is top-field-first, 1 is bottom-field-first, not the other way around. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vf_yadif: copy buffer properties like aspect for second frame as wellJoakim Plate2011-09-21
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* oma: support for encrypted filesDavid Goldwich2011-09-21
| | | | | Signed-off-by: David Goldwich <david.goldwich@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* id3v2: add support for non-text and GEOB type tag framesDavid Goldwich2011-09-21
| | | | | | | | | | | | | | | | | | | | | | This extends the ID3v2 parser to allow for reading of non-text (i.e. other than T***) meta tag frames providing a ff_id3v2_read_all() function. An additional data structure 'ID3v2ExtraMeta' is introduced for these tags since AVDictionary is string oriented and unsuitable for binary data. A parser for tag frames of type GEOB is implemented, which is needed to extract keyring information from encrypted OMA files. GEOB data is parsed into 'ID3v2ExtraMetaGEOB' data structures. The routine to decode characters from different encodings to UTF-8, formerly part of the read_ttag() function, is moved to its own function. Because some tag frames contain subparts of unknown length, the function is now also able to read until a null character is found. In addition, the function now takes care of allocating a buffer long enough to hold the decoded characters. Signed-off-by: David Goldwich <david.goldwich@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* des: add possibility to calculate DES-CBC-MAC with small bufferDavid Goldwich2011-09-21
| | | | | | | | | | | This patch adds the possibility to calculate the DES-CBC-MAC of a source buffer (i.e. the last block of the buffer encrypted in CBC mode) without having to allocate a destination buffer that is as long as the complete source buffer, but instead only 8 bytes for the MAC. Signed-off-by: David Goldwich <david.goldwich@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* rtmp: Don't blindly skip the 4 trailer bytes from the FLV packetsMartin Storsjö2011-09-20
| | | | | | | | | | | | | | | | If not enough bytes are available, keep track of them and skip them on next call. In practice, if these trailer bytes are written in a separate call, there is no other data written in this call, making it fall into the "FLV packet too small" case currently - working, but not as intended. This patch makes the code more robust, handling all cases except for having the FLV packet header split over multiple write calls. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtmp: Handle FLV packets written in more than one write callChiranjeevi Melam2011-09-20
| | | | | | | | | | If the FLV packet is larger than the AVIO buffer, a partial FLV packet will be flushed to the RTMP protocol. This commit handles the most common cases of FLV packets being written in more than one call. Signed-off-by: Martin Storsjö <martin@martin.st>
* rv34: Check for invalid slice offsetsLaurent Aimar2011-09-20
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* movenc: fix NULL reference in mov_write_tkhd_tagAnton Khirnov2011-09-19
| | | | | st may be NULL when there are more mov streams than AVStreams, e.g. when chapters are present.
* rmdec: Reject invalid deinterleaving parametersLaurent Aimar2011-09-19
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rv34: Fix potential overreadsLaurent Aimar2011-09-19
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rv34: Fix buffer size used for MC of B frames after a resolution changeLaurent Aimar2011-09-19
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rv34: Avoid NULL dereference on corrupted bitstreamLaurent Aimar2011-09-19
| | | | | | rv34_decode_slice() can return without allocating any pictures. Signed-off-by: Martin Storsjö <martin@martin.st>
* rv10: Reject slices that does not have the same type as the first oneLaurent Aimar2011-09-19
| | | | | | This prevents crashes with some corrupted bitstreams. Signed-off-by: Martin Storsjö <martin@martin.st>
* vf_yadif: add an option to enable/disable deinterlacing based on src frame ↵Joakim Plate2011-09-19
| | | | | | | "interlaced" flag Signed-off-by: Joakim Plate <elupus@ecce.se> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vsrc_color: set output pos values to -1Stefano Sabatini2011-09-19
| | | | | | -1 is more correct than 0, as the position in the file is undefined. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vsrc_color: add @file doxyStefano Sabatini2011-09-19
| | | | | | Also remove outdated reference to color in vf_pad.c. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vsrc_buffer: remove duplicated file descriptionStefano Sabatini2011-09-19
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* eval: implement not() expressionStefano Sabatini2011-09-19
|
* eval: add sqrt function for computing the square rootStefano Sabatini2011-09-19
|
* rmdec: use the deinterleaving mode and not the codec when creating audio ↵Laurent Aimar2011-09-19
| | | | | | | | packets. It prevents crashes due to non initialized fields. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavf: Fix context pointer in av_open_input_stream when avformat_open_input failsDavid Goldwich2011-09-19
| | | | | Signed-off-by: David Goldwich <david.goldwich@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* doc/APIChanges: fill in missing hashes and dates.Anton Khirnov2011-09-18
|
* lavfi: add select filterStefano Sabatini2011-09-17
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* oggdec: fix out of bound write in the ogg demuxerLaurent Aimar2011-09-17
| | | | | | | Between ogg_save() and ogg_restore() calls, the number of streams could have been reduced. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* movenc: create an alternate group for each media typeAnton Khirnov2011-09-17
| | | | Partially fixes bug 44.
* lavd: add libcdio-paranoia input device for audio CD grabbingAnton Khirnov2011-09-17
|
* rawdec: refactor private option for raw video demuxersAnton Khirnov2011-09-17
| | | | | | | | pixel_format/video_size only apply to 'rawvideo' (==uncompressed) demuxer and make no sense for the other raw (== containerless) demuxers. Keep only the framerate option for those. Also use unique classes for all raw video demuxers
* pcmdec: use unique classes for all pcm demuxers.Anton Khirnov2011-09-17
|
* rawdec: g722 is always 1 channel/16kHzAnton Khirnov2011-09-17
|
* libx264: introduce slice-max-size optionLuca Barbato2011-09-16
| | | | Yet another option useful for low latency streaming.
* Fixed size given to init_get_bits().Laurent Aimar2011-09-15
| | | | | | | init_get_bits() takes a number of bits and not a number of bytes as its size argument. Signed-off-by: Alex Converse <alex.converse@gmail.com>
* swscale: fix byte overreads in SSE-optimized hscale().Ronald S. Bultje2011-09-15
| | | | | | SSE-optimized hScale() scales up to 4 pixels at once, so we need to allocate up to 3 padding pixels to prevent overreads. This fixes valgrind errors in various swscale-tests on fate.
* matroskadec: fix typo.Dustin Brody2011-09-15
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* matroskadec: bail on parsing of incorrect seek index segmentsDustin Brody2011-09-15
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavf utils: Remove write-only variableAlex Converse2011-09-14
|
* lavf utils: Rename shadowing variableAlex Converse2011-09-14
|