aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/utils.c
Commit message (Collapse)AuthorAgeFilesLines
...
* properly check for FF_API_MAX_STREAMS instead of LIBAVFORMAT_VERSION_MAJORAurelien Jacobs2010-10-061-6/+7
| | | | Originally committed as revision 25382 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add new streams API without MAX_STREAMS limitAurelien Jacobs2010-10-061-0/+10
| | | | | | (disabled until next major bump) Originally committed as revision 25381 to svn://svn.ffmpeg.org/ffmpeg/trunk
* dynamically use nb_streams instead of static use of MAX_STREAMSAurelien Jacobs2010-10-061-8/+33
| | | | Originally committed as revision 25380 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move handling of ID3v2 to common utils.c code, reducing code duplicationReimar Döffinger2010-10-061-2/+16
| | | | | | and supporting it for more formats, fixing issue 2258. Originally committed as revision 25378 to svn://svn.ffmpeg.org/ffmpeg/trunk
* find_info_tag: Make sure the output buffer is null terminatedMartin Storsjö2010-10-051-1/+1
| | | | Originally committed as revision 25353 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add the CODEC_CAP_CHANNEL_CONF capability code and addBenjamin Larsson2010-10-021-1/+10
| | | | | | | | | that flag to the dca codec. This capability when set will make sure the codec will initialize the channel configuration instead of trusting the container. This fixes issue 2137 and issue 850. Originally committed as revision 25320 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix index_entries pos:Michael Chinen2010-09-271-4/+0
| | | | | | | | It was being set wrong for files with data_offset > 0 Patch by Michael Chinen, mchinen gmail Originally committed as revision 25239 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move AVOptions from libavcodec to libavutilMichael Niedermayer2010-09-261-1/+1
| | | | Originally committed as revision 25210 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix formatting for negative start times (issue 2139).Christian d'Heureuse2010-09-071-1/+1
| | | | | | Patch by Christian d'Heureuse, chdh inventec ch Originally committed as revision 25063 to svn://svn.ffmpeg.org/ffmpeg/trunk
* move stream info arrays into a struct to ease future dynamic allocationAurelien Jacobs2010-09-051-32/+28
| | | | Originally committed as revision 25045 to svn://svn.ffmpeg.org/ffmpeg/trunk
* avformat: free decryption key in av_close_input_stream()Måns Rullgård2010-08-241-0/+1
| | | | Originally committed as revision 24899 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make parse_key_value from httpauth a common lavf internal functionMartin Storsjö2010-08-191-0/+54
| | | | Originally committed as revision 24832 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rename LAVF_API_* defines to FF_API_* to clarify that it is not public APIAurelien Jacobs2010-08-181-6/+6
| | | | Originally committed as revision 24825 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add LAVF_API_OLD_METADATA define to disable the deprecated metadata APIAurelien Jacobs2010-08-171-6/+6
| | | | Originally committed as revision 24818 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix segv when stream copy and validate_tag fails, st->codec->codec is not setBaptiste Coudurier2010-08-121-2/+2
| | | | Originally committed as revision 24782 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix mem leak when trying to open a non-existing image file (issue 2126).Przemysław Sobala2010-08-101-0/+1
| | | | | | Patch by Przemysław Sobala, psobala wp-sa pl Originally committed as revision 24757 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make hex_to_data a lavf internal functionMartin Storsjö2010-08-091-0/+28
| | | | | | This is useful for other future RTP depacketizers Originally committed as revision 24747 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Deprecate av_parse_video_frame_size() and av_parse_video_frame_rate()Stefano Sabatini2010-07-261-2/+4
| | | | | | | | | | | in favor of the newly added corresponding functions av_parse_video_size() and av_parse_video_rate() defined in libavcore/parseutils.h. This change also adds a linking-time dependency of libavcodec and of libavfilter on libavcore. Originally committed as revision 24518 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move AVStream->codec_info_nb_frames increment after try_decode_frameBaptiste Coudurier2010-07-031-2/+1
| | | | Originally committed as revision 24017 to svn://svn.ffmpeg.org/ffmpeg/trunk
* In av_find_stream_info, decode at least 4 h.264 frames to be able to guess ↵Baptiste Coudurier2010-07-031-2/+8
| | | | | | delay. Originally committed as revision 24014 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make "invalid dts/pts combination" a debug instead of a warning message.XBMC2010-06-301-1/+1
| | | | | | Patch by XBMC Originally committed as revision 23919 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix grammar errors in documentationMåns Rullgård2010-06-301-2/+2
| | | | Originally committed as revision 23904 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix an "assignment from incompatible pointer type" warning in ↵Eli Friedman2010-06-281-1/+1
| | | | | | | | av_read_frame_internal Patch by Eli Friedman, eli dot friedman at gmail Originally committed as revision 23842 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make ff_url_split() publicMåns Rullgård2010-06-271-0/+18
| | | | | | | ff_url_split() is retained as an alias, as it was used by ffserver, to avoid breaking ABI compatibility with it. Originally committed as revision 23822 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix failure in av_read_frame on timestamp rollover.Stephen Dredge2010-06-221-3/+3
| | | | | | Patch by Stephen Dredge, sdredge A tpg com au Originally committed as revision 23699 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ff_url_join: Don't add any at-char if the auth is an empty stringMartin Storsjö2010-06-191-1/+1
| | | | Originally committed as revision 23650 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add compatibility wrappers for functions moved from lavf to lavcMåns Rullgård2010-06-151-1/+31
| | | | | | | | When symbol versioning is enabled, moving symbols from one library to another breaks binary compatibility. This adds wrappers with the old version tag for the av_*packet functions recently moved to lavc. Originally committed as revision 23611 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix muxing rgb rawvideo in avi regression.Michael Niedermayer2010-06-051-0/+4
| | | | Originally committed as revision 23500 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make the error message issued in case of invalid codec tag moreStefano Sabatini2010-06-021-2/+4
| | | | | | informative. Originally committed as revision 23423 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Print an error when MAX_STREAMS is reached.Michael Niedermayer2010-06-011-1/+3
| | | | Originally committed as revision 23413 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make sure that when the parser is feeded with frame==packet that theMichael Niedermayer2010-05-271-0/+8
| | | | | | | packets are passed through and wont be marked as static which would require them to be copied by av_dup_packet(). Originally committed as revision 23352 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add an AVSTREAM_PARSE_FULL_ONCE parsing mode to parse headers and combine ↵Alex Converse2010-05-261-0/+2
| | | | | | packets once and only once. Originally committed as revision 23332 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Display a more descriptive log message when probe buffer limit isJai Menon2010-05-241-1/+1
| | | | | | reached. Originally committed as revision 23288 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make av_write_header() return AVERROR(EINVAL) rather than -1 if theStefano Sabatini2010-05-221-5/+5
| | | | | | input parameters are not valid. Originally committed as revision 23253 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Store in a dedicated array the format name - codec id - codec typeStefano Sabatini2010-05-221-26/+21
| | | | | | mapping. Simplify. Originally committed as revision 23252 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Prefer enum CodecID over int in ff_codec_get_tag().Stefano Sabatini2010-05-221-1/+1
| | | | Originally committed as revision 23249 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add a libavformat internal function ff_write_chainedMartin Storsjö2010-05-211-0/+19
| | | | Originally committed as revision 23207 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Validate AVCodecTag vs CodecID.Francesco Lavra2010-05-181-5/+39
| | | | | | Patch by Francesco Lavra, francescolavra interfree it Originally committed as revision 23159 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Factorize some code into the new function ff_toupper4().Francesco Lavra2010-05-181-4/+2
| | | | | | Patch by Francesco Lavra, francescolavra interfree it Originally committed as revision 23158 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change MAX_READ_SIZE message during av_find_stream_info to DEBUG level.Baptiste Coudurier2010-05-141-1/+1
| | | | | | It is not harmful and it scares too many users. Originally committed as revision 23139 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Export av_probe_input_format2.Reimar Döffinger2010-05-011-1/+1
| | | | Originally committed as revision 23002 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Mark av_metadata_set() as deprecated, and use av_metadata_set2()Stefano Sabatini2010-04-251-1/+1
| | | | | | | | in its place. av_metadata_set() is going to be dropped at the next major bump. Originally committed as revision 22961 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove explicit filename from Doxygen @file commands.Diego Biurrun2010-04-201-1/+1
| | | | | | | | Passing an explicit filename to this command is only necessary if the documentation in the @file block refers to a file different from the one the block resides in. Originally committed as revision 22921 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not probe when the format is known.Jean-Daniel Dupas2010-04-131-1/+1
| | | | | | Patch by Jean-Daniel Dupas devlists shadowlab org Originally committed as revision 22870 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Raise needed score for codec probing in CODEC_ID_PROBE before the last packet.Michael Niedermayer2010-04-111-1/+2
| | | | | | Fixes issue1871 Originally committed as revision 22831 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Dont try to compute AVPacket duration for possibly interlaced video codecsMichael Niedermayer2010-04-091-0/+5
| | | | | | | when no parser is available. This partly fixes the frame rate misdetection in issue1756. Originally committed as revision 22824 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reusing the probe buffer to rewind the ByteIOContext in ↵Tomas Härdin2010-04-081-8/+5
| | | | | | ff_probe_input_buffer() instead of seeking back to the start of the file. Once exhausted, the size of the buffer is reduced. Originally committed as revision 22821 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix rounding direction for calculation of AVPacket.duration.Michael Niedermayer2010-04-041-1/+1
| | | | | | Fixes issue1579 Originally committed as revision 22802 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Limit probing to probesize.Michael Niedermayer2010-04-011-1/+1
| | | | Originally committed as revision 22758 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add AVFMT_FLAG_NOFILLIN and AVFMT_FLAG_NOPARSE.Michael Niedermayer2010-03-311-2/+5
| | | | Originally committed as revision 22745 to svn://svn.ffmpeg.org/ffmpeg/trunk