summaryrefslogtreecommitdiff
path: root/libavformat/avidec.c
Commit message (Collapse)AuthorAge
* Improve descriptiveness of a number of codec and container long namesDiego Biurrun2012-07-30
|
* avidec: make scale and rate unsigned.Anton Khirnov2012-06-04
| | | | The specs say they are unsigned 32bit integers.
* lavf: deprecate av_read_packet().Anton Khirnov2012-03-20
| | | | | | 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
* libavformat: Add an ff_ prefix to some lavf internal symbolsMartin Storsjö2012-02-15
| | | | | | | | | | 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>
* lavf: remove AVFormatParameters from AVFormatContext.read_header signatureAnton Khirnov2012-01-27
|
* avidec: migrate last of lavf from FF_ER_* to AV_EF_*Dustin Brody2012-01-20
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* Replace all uses of av_close_input_file() with avformat_close_input().Anton Khirnov2011-12-12
|
* lavf: make av_set_pts_info private.Anton Khirnov2011-11-30
| | | | It's supposed to be called only from (de)muxers.
* Generalize RIFF INFO tag support; support reading INFO tag in wavVictor Vasiliev2011-11-26
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Replace all usage of strcasecmp/strncasecmpReimar Döffinger2011-11-06
| | | | | | | | | | | 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>
* lavf: use avpriv_ prefix for some dv functions.Anton Khirnov2011-10-20
| | | | They are used in libavdevice.
* lavf: replace av_new_stream->avformat_new_stream part II.Anton Khirnov2011-10-19
| | | | | | | | 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.
* avidec: fix signed overflow in avi_sync()Mans Rullgard2011-10-10
| | | | | | | | 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>
* avidec: simplify size parameter in memset()Janne Grunau2011-10-10
|
* lavf: add support for error_recognition, use it in avidec, and bump minor ↵Dustin Brody2011-08-12
| | | | | | API version Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavf: use designated initialisers for all (de)muxers.Anton Khirnov2011-07-17
| | | | It's more readable and less prone to breakage.
* Do not include mathematics.h in avutil.hMans Rullgard2011-07-03
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* avidec: simplify convoluted flow in avi_load_index()Mans Rullgard2011-07-03
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* avidec: infer absolute vs relative index from first packetAlex Converse2011-07-01
|
* avidec: Factor out the sync fucntionality.Alex Converse2011-07-01
|
* Deprecate av_open_input_* and remove their uses.Anton Khirnov2011-06-16
| | | | Deprecate the last remaining member of AVFormatParameters.
* Replace DEBUG_SEEK/DEBUG_SI + av_log combinations by av_dlog.Diego Biurrun2011-06-10
|
* Remove all uses of now deprecated metadata functions.Anton Khirnov2011-06-08
|
* Replace some printf instances in debug code by av_log.Diego Biurrun2011-06-07
|
* Remove unused variablesMans Rullgard2011-06-02
|
* read AVI palette from the end of extradataKostya Shishkov2011-04-24
| | | | | | | | | | | | | | | | | | 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>
* Replace more FFmpeg references by Libav.Diego Biurrun2011-04-17
|
* make containers pass palette change in AVPacketKostya Shishkov2011-04-15
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* handle malloc failures in ff_get_wav_headerMax Horn2011-04-14
| | | | | | | | | | | 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>
* avio: introduce an AVIOContext.seekable fieldAnton Khirnov2011-04-03
| | | | Use it instead of url_is_streamed and AVIOContext.is_streamed.
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* lavf: replace avio_seek(SEEK_CUR) with avio_skip where it makes senseAnton Khirnov2011-03-16
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: deprecate url_feofAnton Khirnov2011-03-07
| | | | | | AVIOContext.eof_reached should be used directly instead. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: avio_ prefix for url_fsizeAnton Khirnov2011-03-07
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: add avio_tell macro as a replacement for url_ftellAnton Khirnov2011-03-04
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* lavf: replace all uses of url_fskip with avio_seekAnton Khirnov2011-03-01
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: avio_ prefix for url_fseekAnton Khirnov2011-03-01
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: avio_ prefixes for get_* functionsAnton Khirnov2011-02-21
| | | | | | | | | | | | | | 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>
* avio: rename av_alloc_put_byte -> avio_alloc_context for consistencyAnton Khirnov2011-02-21
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: rename ByteIOContext to AVIOContext.Anton Khirnov2011-02-20
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avidec: simplify read_gab2_subAnton Khirnov2011-02-06
| | | | | | | | | | 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>
* Remove forgotten if (p) av_free(p) formsClément Bœsch2011-02-04
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Replace dprintf with av_dlogLuca Barbato2011-01-29
| | | | dprintf clashes with POSIX.1-2008
* Prefix all _demuxer, _muxer, _protocol from libavformat and libavdevice.Diego Elio Pettenò2011-01-26
| | | | | 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.
* avidec: make print_tag() a macro and remove related ifdefsMans Rullgard2011-01-25
| | | | | | | The dprintf macro is a no-op if DEBUG is not defined, so there is no need to guard it here. Signed-off-by: Mans Rullgard <mans@mansr.com>
* add ff_get_bmp_headerPeter Ross2010-12-26
| | | | Originally committed as revision 26091 to svn://svn.ffmpeg.org/ffmpeg/trunk
* avidec: read some of the Nikon specific tags produced by Nikon camerasAurelien Jacobs2010-11-24
| | | | Originally committed as revision 25821 to svn://svn.ffmpeg.org/ffmpeg/trunk
* avidec: support non-standard creation_time formatAurelien Jacobs2010-11-23
| | | | Originally committed as revision 25815 to svn://svn.ffmpeg.org/ffmpeg/trunk
* avidec: trivial simplification regarding av_metadata_setAurelien Jacobs2010-11-23
| | | | Originally committed as revision 25814 to svn://svn.ffmpeg.org/ffmpeg/trunk
* avidec: export creation_date as metadataAurelien Jacobs2010-11-21
| | | | Originally committed as revision 25785 to svn://svn.ffmpeg.org/ffmpeg/trunk