summaryrefslogtreecommitdiff
path: root/libavformat/utils.c
Commit message (Collapse)AuthorAge
* ensure av_rescale_q() can be calculated (won't divide by zero)Aurelien Jacobs2008-01-21
| | | | Originally committed as revision 11592 to svn://svn.ffmpeg.org/ffmpeg/trunk
* misc spelling/grammar fixesDiego Biurrun2008-01-16
| | | | Originally committed as revision 11542 to svn://svn.ffmpeg.org/ffmpeg/trunk
* user specifyable maximum amount of memory to use for the index.Paul Kelly2008-01-13
| | | | | | | patch by Paul Kelly paul stjohnspoint co uk with some changes by me Originally committed as revision 11521 to svn://svn.ffmpeg.org/ffmpeg/trunk
* indentMichael Niedermayer2007-12-29
| | | | Originally committed as revision 11348 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Try to fix url_split() so that the ?foobar part is in the path and only the ↵Michael Niedermayer2007-12-29
| | | | | | path. Originally committed as revision 11347 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix detected fps for old divx/xvid.Michael Niedermayer2007-12-27
| | | | Originally committed as revision 11323 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 100l, av_read_packet must check for read_packet error, in case ofReimar Döffinger2007-12-23
| | | | | | | error pkt->stream_index could be invalid and must not be used. Fixes a crash with http://www.cs.berkeley.edu/~dmolnar/2-snippet3.wav Originally committed as revision 11307 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove double check of pb->read_seekAurelien Jacobs2007-12-20
| | | | Originally committed as revision 11278 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use proper url_is_streamed() APIAurelien Jacobs2007-12-19
| | | | | | instead of messing with ByteIOContext internal is_streamed field Originally committed as revision 11276 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Merge recently added and still unused play and pause functions.Michael Niedermayer2007-12-19
| | | | Originally committed as revision 11273 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add a av_close_input_stream functionReimar Döffinger2007-12-19
| | | | Originally committed as revision 11269 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Allow overriding codec_ids.Michael Niedermayer2007-12-19
| | | | Originally committed as revision 11266 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify av_close_input_file similarly to av_open_input_file previouslyReimar Döffinger2007-12-17
| | | | Originally committed as revision 11254 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify av_open_input_fileReimar Döffinger2007-12-17
| | | | Originally committed as revision 11253 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add FF_OPT_TYPE_BINARY and use it to add a cryptokey optionReimar Döffinger2007-12-17
| | | | Originally committed as revision 11250 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Enable av_read_pause(), av_read_play() and the ASF demuxer's av_read_seek()Björn Axelsson2007-12-17
| | | | | | | | | to use the protocol-native functionality if available. Patch by Björn Axelsson: bjorn point axelsson at intinor dot se Original thread: [FFmpeg-devel] [PATCH][4/4] Enable use of the extended API Date: Thu Nov 22 16:01:06 CET 2007 Originally committed as revision 11248 to svn://svn.ffmpeg.org/ffmpeg/trunk
* av_*_next() API for libavformatMichael Niedermayer2007-12-12
| | | | Originally committed as revision 11206 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Suppress the "redirector hack" from libavformat/utils.c:av_open_input_stream(),Luca Abeni2007-11-29
| | | | | | and implement the redirector format more properly. Originally committed as revision 11112 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use dynamically allocated ByteIOContext in AVFormatContextBjörn Axelsson2007-11-21
| | | | | | | patch by: Björn Axelsson, bjorn d axelsson a intinor d se thread: [PATCH] Remove static ByteIOContexts, 06 nov 2007 Originally committed as revision 11071 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rename fps(frame per second) to tb(time base) to preventMichael Niedermayer2007-11-13
| | | | | | | confusion with the average fps and hopefully stop these "wrong framerate" bug reports Originally committed as revision 11007 to svn://svn.ffmpeg.org/ffmpeg/trunk
* print newline after program id even when the name is missingNico Sabbi2007-10-26
| | | | Originally committed as revision 10864 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unused variable, fixes warning:Diego Biurrun2007-10-25
| | | | | | | utils.c: In function 'dump_format': utils.c:2542: warning: unused variable 'flags' Originally committed as revision 10858 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move setting of key frame flag for intra-only codecs, ignoring key frameJeff Downs2007-10-24
| | | | | | | | | flag of parser for such codecs as intra-only parsers don't set key frame flag. Corrects lack of key frame marking in mjpeg, possibly others. Original thread: Key Frame Marking, Fri, 12 Oct 2007 03:35:57 Originally committed as revision 10850 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 100l, fix dump_format, declare buf in dump_stream_format, sizeof(buf) is 4 ↵Baptiste Coudurier2007-10-21
| | | | | | because buf is char* since r10818 Originally committed as revision 10832 to svn://svn.ffmpeg.org/ffmpeg/trunk
* API extension: AVProgram now has an array (stream_index) containing the ↵Nico Sabbi2007-10-20
| | | | | | indexes of the streams in AVFormatContext Originally committed as revision 10819 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: moved to a separate function the code to print the ↵Nico Sabbi2007-10-20
| | | | | | characteristics of an AVStream Originally committed as revision 10818 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make url_split() strip url options (?opt=var) from the returned hostname orRonald S. Bultje2007-10-18
| | | | | | | | | | | location. This fixes a regression introduced by the rewrite of url_split() in r10605. Patch by Ronald S. Bultje: rsbultje gmail com Original thread: [FFmpeg-devel] [PATCH] Make RTP work with IPv6 enabled Date: 10/12/2007 08:19 PM Originally committed as revision 10775 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Re-enable DEBUG_SEEK flag.Benoit Fouet2007-10-16
| | | | Originally committed as revision 10758 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Undefine DEBUG_SEEK.Thorsten Jordan2007-10-15
| | | | | | Patch by Thorsten Jordan: tjordan macrosystem de Originally committed as revision 10742 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add checking for codecid to has_codec_parameters().Ronald S. Bultje2007-10-01
| | | | | | | | patch by Ronald S. Bultje, rsbultje gmail com Date: Sat, 29 Sep 2007 09:25:52 -0400 Subject: [FFmpeg-devel] [PATCH] has_codec_parameters() addition Originally committed as revision 10636 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add IPv6 support to url_split()Ronald S. Bultje2007-09-29
| | | | | | | patch by: Ronald S. Bultje rsbultje a gmail d com thread: "[PATCH] url_split() ipv6 support" at 2007/Sep/23 18:43 Originally committed as revision 10615 to svn://svn.ffmpeg.org/ffmpeg/trunk
* refactor url_split(), preparing for IPv6 supportRonald S. Bultje2007-09-27
| | | | | | | patch by: Ronald S. Bultje rsbultje a gmail d com thread: "[PATCH] url_split() ipv6 support" at 09/23/07 18:43 Originally committed as revision 10605 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Added definition and utility functions to handle AVProgram(s) in ↵Nico Sabbi2007-09-25
| | | | | | AVFormatContext Originally committed as revision 10579 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make parse_date return INT64_MIN in case of unparsable input.Stefano Sabatini2007-09-19
| | | | | | | | | Patch by Stefano Sabatini: [stefano sabatini-lala poste it] Original thread: [FFmpeg-devel] [PATCH] Enhace documentation forlibavformat/utils.c:parse_date Date: 08/17/2007 09:40 PM Originally committed as revision 10533 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add explanatory comments to the parse_date function.Stefano Sabatini2007-09-18
| | | | | | patch by Stefano Sabatini, stefano.sabatini-lala poste it Originally committed as revision 10525 to svn://svn.ffmpeg.org/ffmpeg/trunk
* loosen dependencies over allformats.hAurelien Jacobs2007-09-16
| | | | Originally committed as revision 10513 to svn://svn.ffmpeg.org/ffmpeg/trunk
* move unrelated functions declarations out of allformats.hAurelien Jacobs2007-09-11
| | | | Originally committed as revision 10475 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make sure that if a stream has a duration but the container doesn'tNeil Brown2007-09-05
| | | | | | | | | | | then the container duration is set from the stream duration. patch by Neil Brown: [ neilb suse de] original thread: [FFmpeg-devel] [patch 3/3] Make timing calculations less dependant on start_time being defined. date: 08/16/2007 08:27 AM Originally committed as revision 10408 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Correct initial timestampWolfram Gloger2007-09-05
| | | | | | | | | Patch by Wolfram Gloger: [wmglo $ dent med uni-muenchen de] Original thread: [FFmpeg-devel] [PATCH] av_estimate_timings_from_pts corrupt timestamps date: 08/25/2007 09:51 PM Originally committed as revision 10405 to svn://svn.ffmpeg.org/ffmpeg/trunk
* If a stream has no start time, but the first packet has a 'pts', use thatNeil Brown2007-09-03
| | | | | | | | | | pts to set the start_time. patch by Neil Brown: [neilb suse de] original thread: [FFmpeg-devel] [patch 3/3] Make timing calculations less dependant on start_time being defined. date: 08/16/2007 08:27 AM Originally committed as revision 10285 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix probe buffer issue. patch by Wolfram Gloger {wmglo at ↵Wolfram Gloger2007-09-03
| | | | | | | | | dent.med.uni-muenchen.de}. [FFmpeg-devel] [PATCH] ac3_probe input buffer overrun Aug 28, 2007 Originally committed as revision 10281 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not butcher start_time in av_estimate_timings_from_bit_rate().Neil Brown2007-08-18
| | | | | | from a patch by neilb suse de Originally committed as revision 10140 to svn://svn.ffmpeg.org/ffmpeg/trunk
* When looking for the last packet in eachNeil Brown2007-08-18
| | | | | | | | | | stream, so as to calculate the duration, don't stop as soon as all streams have seen at least one packet. Otherwise the duration will be shorter than it should be. We must keep reading to the end-of-file. patch by neilb suse de Originally committed as revision 10139 to svn://svn.ffmpeg.org/ffmpeg/trunk
* There is no guarantee that every stream willNeil Brown2007-08-18
| | | | | | | | | have a start_time found (though it is likely), so check that the start_time is defined before calculating a duration. (patch by neilb suse de) Originally committed as revision 10138 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix cur_dts at the end of av_estimate_timings_from_pts()Michael Niedermayer2007-08-18
| | | | Originally committed as revision 10137 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ensure that the codec_id detection in av_find_stream_info() does notMichael Niedermayer2007-08-06
| | | | | | destroy the first dts values Originally committed as revision 9965 to svn://svn.ffmpeg.org/ffmpeg/trunk
* set a more reasonable start_time if the first timestamps are AV_NOPTS_VALUEMichael Niedermayer2007-08-04
| | | | Originally committed as revision 9918 to svn://svn.ffmpeg.org/ffmpeg/trunk
* correct initial timestamps which have AV_NOPTS_VALUEMichael Niedermayer2007-08-04
| | | | Originally committed as revision 9917 to svn://svn.ffmpeg.org/ffmpeg/trunk
* move code which adds a AVPacket into the packet buffer into its own functionMichael Niedermayer2007-08-03
| | | | Originally committed as revision 9871 to svn://svn.ffmpeg.org/ffmpeg/trunk
* deal with the case where one of pts,dts has wrapped but the other has notMichael Niedermayer2007-07-31
| | | | Originally committed as revision 9839 to svn://svn.ffmpeg.org/ffmpeg/trunk