Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-01-21avidec: use sensible error codes instead of -1Jindrich Makovicka
Use AVERROR_INVALIDDATA on invalid inputs, and AVERROR_EOF when no more frames are available in an interleaved AVI. Signed-off-by: Jindrich Makovicka <makovick@gmail.com> Signed-off-by: Diego Biurrun <diego@biurrun.de>
2012-10-01avformat: Convert some commented-out printf/av_log instances to av_dlogDiego Biurrun
2012-10-01avformat: Remove non-compiling and/or silly commented-out printf/av_log ↵Diego Biurrun
statements
2012-09-29avidec: use actually read size instead of requested sizeAnton Khirnov
Fixes CVE-2012-2788
2012-09-29avidec: return 0, not packet size from read_packet().Anton Khirnov
2012-08-07Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov
2012-07-30Improve descriptiveness of a number of codec and container long namesDiego Biurrun
2012-06-04avidec: make scale and rate unsigned.Anton Khirnov
The specs say they are unsigned 32bit integers.
2012-03-20lavf: deprecate av_read_packet().Anton Khirnov
The caller can achieve the same effect (i.e. getting raw unparsed/mangled packets) with av_read_frame() and AVFMT_FLAG_NOPARSE | AVFMT_FLAG_NOFILLIN
2012-02-16libavformat: Add an ff_ prefix to some lavf internal symbolsMartin Storsjö
Prefix the functions/tables brktimegm, pcm_read_seek, dv_offset_reset, voc_get_packet, codec_movaudio_tags, codec_movvideo_tags. After this, lavf has no global symbols without the proper prefix. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-01-27lavf: remove AVFormatParameters from AVFormatContext.read_header signatureAnton Khirnov
2012-01-20avidec: migrate last of lavf from FF_ER_* to AV_EF_*Dustin Brody
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-12-12Replace all uses of av_close_input_file() with avformat_close_input().Anton Khirnov
2011-11-30lavf: make av_set_pts_info private.Anton Khirnov
It's supposed to be called only from (de)muxers.
2011-11-27Generalize RIFF INFO tag support; support reading INFO tag in wavVictor Vasiliev
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-11-06Replace all usage of strcasecmp/strncasecmpReimar Döffinger
All current usages of it are incompatible with localization. For example strcasecmp("i", "I") != 0 is possible, but would break many of the places where it is used. Instead use our own implementations that always treat the data as ASCII. Signed-off-by: Martin Storsjö <martin@martin.st>
2011-10-20lavf: use avpriv_ prefix for some dv functions.Anton Khirnov
They are used in libavdevice.
2011-10-19lavf: replace av_new_stream->avformat_new_stream part II.Anton Khirnov
Manual replacements are done in this commit. In many cases, the id is some constant made up number (e.g. 0 for video and 1 for audio), which is then not used in the demuxer for anything. Those ids are removed.
2011-10-10avidec: fix signed overflow in avi_sync()Mans Rullgard
Keeping byte values read from the file as unsigned is consistent with how they are subsequently used and avoids an undefined left shift by 24 when bit 7 is set. Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-10-10avidec: simplify size parameter in memset()Janne Grunau
2011-08-12lavf: add support for error_recognition, use it in avidec, and bump minor ↵Dustin Brody
API version Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-07-17lavf: use designated initialisers for all (de)muxers.Anton Khirnov
It's more readable and less prone to breakage.
2011-07-04Do not include mathematics.h in avutil.hMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-07-03avidec: simplify convoluted flow in avi_load_index()Mans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-07-02avidec: infer absolute vs relative index from first packetAlex Converse
2011-07-01avidec: Factor out the sync fucntionality.Alex Converse
2011-06-16Deprecate av_open_input_* and remove their uses.Anton Khirnov
Deprecate the last remaining member of AVFormatParameters.
2011-06-10Replace DEBUG_SEEK/DEBUG_SI + av_log combinations by av_dlog.Diego Biurrun
2011-06-08Remove all uses of now deprecated metadata functions.Anton Khirnov
2011-06-07Replace some printf instances in debug code by av_log.Diego Biurrun
2011-06-02Remove unused variablesMans Rullgard
2011-04-25read AVI palette from the end of extradataKostya Shishkov
Official AVI specification says that stream header in case of video contains BITMAPINFO, which is equal to BITMAPINFOHEADER and optional palette. Currently lavf AVI demuxer thinks otherwise which produces garbage on codecs that have both palette and extradata (luckily, there are not so many such codecs). An example of such file is: http://samples.multimedia.cx/V-codecs/KMVC/baseball1.avi (IIRC, MSS1 or MSS2 also had such situation but they are still not supported by lavc). As a side note, passing palette in extradata as it's been done previously is not quite correct since proper _extra_ data is surplus bytes in BITMAPINFOHEADER, not including palette. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-04-17Replace more FFmpeg references by Libav.Diego Biurrun
2011-04-15make containers pass palette change in AVPacketKostya Shishkov
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2011-04-14handle malloc failures in ff_get_wav_headerMax Horn
ff_get_wav_header is reading data from a WAVE file and then uses it (without validation) to malloc a buffer. It then proceeded to read data into the buffer, without verifying that the allocation succeeded. To address this, change ff_get_wav_header to return an error if allocation failed, and adapted all calling code to handle that error. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2011-04-04avio: introduce an AVIOContext.seekable fieldAnton Khirnov
Use it instead of url_is_streamed and AVIOContext.is_streamed.
2011-03-19Replace FFmpeg with Libav in licence headersMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-03-17lavf: replace avio_seek(SEEK_CUR) with avio_skip where it makes senseAnton Khirnov
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-03-08avio: deprecate url_feofAnton Khirnov
AVIOContext.eof_reached should be used directly instead. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-03-07avio: avio_ prefix for url_fsizeAnton Khirnov
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-03-04avio: add avio_tell macro as a replacement for url_ftellAnton Khirnov
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-03-01lavf: replace all uses of url_fskip with avio_seekAnton Khirnov
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-03-01avio: avio_ prefix for url_fseekAnton Khirnov
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-02-21avio: avio_ prefixes for get_* functionsAnton Khirnov
In the name of consistency: get_byte -> avio_r8 get_<type> -> avio_r<type> get_buffer -> avio_read get_partial_buffer will be made private later get_strz is left out becase I want to change it later to return something useful. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-02-21avio: rename av_alloc_put_byte -> avio_alloc_context for consistencyAnton Khirnov
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-02-20avio: rename ByteIOContext to AVIOContext.Anton Khirnov
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-02-07avidec: simplify read_gab2_subAnton Khirnov
Use avio functions instead of bytestream ones (also drops dependency on lavc and removes a bunch of warnings). Drop custom version of avio_get_str16 and use that instead. Tested on mewmew-ssa.avi sample. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-02-04Remove forgotten if (p) av_free(p) formsClément Bœsch
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-01-30Replace dprintf with av_dlogLuca Barbato
dprintf clashes with POSIX.1-2008
2011-01-27Prefix all _demuxer, _muxer, _protocol from libavformat and libavdevice.Diego Elio Pettenò
This also lists the objects from those two libraries as internal (by adding the ff_ prefix) so that they can then be hidden via linker scripts.