aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/utils.c
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Replace all occurences of PKT_FLAG_KEY with AV_PKT_FLAG_KEY.Jean-Daniel Dupas2010-03-311-7/+7
| | | | | | Patch by Jean-Daniel Dupas, devlists shadowlab org Originally committed as revision 22744 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Probe aac codecs for CODEC_ID_PROBE.Joakim Plate2010-03-311-0/+3
| | | | | | Patch by Joakim Plate, elupus ecce se Originally committed as revision 22742 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Define AVMediaType enum, and use it instead of enum CodecType, whichStefano Sabatini2010-03-301-38/+38
| | | | | | is deprecated and will be dropped at the next major bump. Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix updating condition for the probe_size variable in the internalMicah F. Galizia2010-03-261-1/+7
| | | | | | | | | | | | loop of ff_probe_input_buffer(), making sure that probe_size is always set to probe_max_size in the last iteration. Also make the function return an error if we get to the max probe length and still cannot figure out what the format is. Patch by Micah Galizia micahgalizia A gmail D com. Originally committed as revision 22688 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ReindentMartin Storsjö2010-03-251-3/+3
| | | | Originally committed as revision 22666 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add a lowercase parameter to ff_data_to_hexMartin Storsjö2010-03-251-2/+7
| | | | Originally committed as revision 22665 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make av_open_input_file() return AVERROR_INVALIDDATA rather thanStefano Sabatini2010-03-211-1/+1
| | | | | | | | | | | | AVERROR_NOFMT if the format is unknown / cannot be recognized. It is returned AVERROR_INVALIDDATA, in the sense that the data is invalid within what the specific libav* binary supports. That was the last remaining use of AVERROR_NOFMT, which is going to be dropped at the next libavutil major bump. Originally committed as revision 22625 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix erroneous behaviour when format probe hits end of fileMåns Rullgård2010-03-161-0/+1
| | | | | | | | | | If the format probe hits end of file, do not add the error code to the buffer position. This is obviously wrong, and with a small input file would cause a negative buffer overflow. Fixes issue 1818. Originally committed as revision 22571 to svn://svn.ffmpeg.org/ffmpeg/trunk