summaryrefslogtreecommitdiff
path: root/libavformat/utils.c
Commit message (Collapse)AuthorAge
* 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
* kill antiwrapping code, i do not think this did anything goodMichael Niedermayer2007-07-30
| | | | | | | fixes decoding of rete4.ps closes issue44 Originally committed as revision 9835 to svn://svn.ffmpeg.org/ffmpeg/trunk
* try exact match before case insensitive match in codec_get_idMichael Niedermayer2007-07-27
| | | | Originally committed as revision 9808 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Avoid misdetecting acelp in ASF as MP3.Michael Niedermayer2007-07-25
| | | | | | fixes 2001-04-11.asf Originally committed as revision 9799 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace all occurrences of AVERROR_NOTSUPP with AVERROR(ENOSYS).Panagiotis Issaris2007-07-19
| | | | Originally committed as revision 9763 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace all occurrences of AVERROR_IO with AVERROR(EIO).Panagiotis Issaris2007-07-19
| | | | Originally committed as revision 9760 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace all occurrences of AVERROR_NOMEM with AVERROR(ENOMEM).Panagiotis Issaris2007-07-19
| | | | Originally committed as revision 9759 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move av_gettime() back to lavf/utils.cRamiro Polla2007-07-16
| | | | Originally committed as revision 9706 to svn://svn.ffmpeg.org/ffmpeg/trunk
* avoid division by zero in av_find_stream_info() when no time base is setMåns Rullgård2007-07-14
| | | | Originally committed as revision 9637 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move public API functions av_codec_get_tag() and av_codec_get_id()Aurelien Jacobs2007-07-11
| | | | | | into a file which is compiled un-conditionally (utils.c). Originally committed as revision 9590 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove unused functionsMåns Rullgård2007-07-07
| | | | Originally committed as revision 9520 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use new string functionsMåns Rullgård2007-06-23
| | | | | | based on patch by Reimar Döffinger Originally committed as revision 9401 to svn://svn.ffmpeg.org/ffmpeg/trunk
* misc typo fixesDiego Biurrun2007-06-12
| | | | Originally committed as revision 9291 to svn://svn.ffmpeg.org/ffmpeg/trunk
* misc spelling fixesDiego Biurrun2007-06-12
| | | | Originally committed as revision 9289 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move the video size and rate abbreviations system from libavformat to libavcodecStefano Sabatini2007-06-12
| | | | | | | | | patch by Stefano Sabatini: [stefano dot sabatini minus lala poste dot it] original thread: [FFmpeg-devel] [PATCH] Redesign the video size and rateabbreviations system date: 06/02/2007 05:30 PM Originally committed as revision 9288 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add a bounds check on AVProbeData input.Ronald S. Bultje2007-06-10
| | | | | | | | | patch by Ronald S. Bultje, rbultje ronald.bitfreak net thread: Date: Sat, 09 Jun 2007 19:22:17 -0400 Subject: [FFmpeg-devel] lavf probing Originally committed as revision 9275 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Export av_init_packetRamiro Polla2007-06-04
| | | | Originally committed as revision 9211 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use url_fopen error code when opening input fileBenoit Fouet2007-05-10
| | | | | | handle the AVERROR_NOENT error case in print_error Originally committed as revision 8977 to svn://svn.ffmpeg.org/ffmpeg/trunk
* give the position offset of the file in the packetDaniel Cardenas2007-05-02
| | | | | | | | | update seek regression test reference file accordingly patch by Daniel Cardenas: Daniel Car cox net original thread: [Ffmpeg-devel] [PATCH] Debug help for file position date: 05/01/2007 02:42 AM Originally committed as revision 8871 to svn://svn.ffmpeg.org/ffmpeg/trunk
* return right format in set_codec_from_probe_dataBenoit Fouet2007-05-02
| | | | Originally committed as revision 8867 to svn://svn.ffmpeg.org/ffmpeg/trunk
* properly compile code for REDIR_DEMUXERAlex Beregszaszi2007-04-26
| | | | Originally committed as revision 8840 to svn://svn.ffmpeg.org/ffmpeg/trunk