aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/utils.c
Commit message (Collapse)AuthorAgeFilesLines
...
* correct initial timestamps which have AV_NOPTS_VALUEMichael Niedermayer2007-08-041-1/+31
| | | | 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-031-33/+20
| | | | 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-311-0/+5
| | | | 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-301-13/+0
| | | | | | | 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-271-7/+11
| | | | Originally committed as revision 9808 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Avoid misdetecting acelp in ASF as MP3.Michael Niedermayer2007-07-251-1/+1
| | | | | | 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-191-2/+2
| | | | Originally committed as revision 9763 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace all occurrences of AVERROR_IO with AVERROR(EIO).Panagiotis Issaris2007-07-191-1/+1
| | | | Originally committed as revision 9760 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace all occurrences of AVERROR_NOMEM with AVERROR(ENOMEM).Panagiotis Issaris2007-07-191-13/+13
| | | | Originally committed as revision 9759 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move av_gettime() back to lavf/utils.cRamiro Polla2007-07-161-0/+12
| | | | 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-141-1/+1
| | | | 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-111-0/+44
| | | | | | 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-071-43/+0
| | | | Originally committed as revision 9520 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use new string functionsMåns Rullgård2007-06-231-2/+3
| | | | | | based on patch by Reimar Döffinger Originally committed as revision 9401 to svn://svn.ffmpeg.org/ffmpeg/trunk
* misc typo fixesDiego Biurrun2007-06-121-2/+2
| | | | Originally committed as revision 9291 to svn://svn.ffmpeg.org/ffmpeg/trunk
* misc spelling fixesDiego Biurrun2007-06-121-3/+3
| | | | 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-121-103/+7
| | | | | | | | | 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-101-1/+1
| | | | | | | | | 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-041-0/+11
| | | | Originally committed as revision 9211 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use url_fopen error code when opening input fileBenoit Fouet2007-05-101-2/+1
| | | | | | 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-021-0/+1
| | | | | | | | | 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-021-1/+1
| | | | Originally committed as revision 8867 to svn://svn.ffmpeg.org/ffmpeg/trunk
* properly compile code for REDIR_DEMUXERAlex Beregszaszi2007-04-261-1/+1
| | | | Originally committed as revision 8840 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix reading PTSs and DTSs in libavformat, by reverting r8465.Luca Abeni2007-04-261-4/+17
| | | | | | | Such commit introduced some regressions (see the "Possible bug in reading PTS/DTS" and "[BUG] no video transcoding" threads on ffmpeg-devel). Originally committed as revision 8826 to svn://svn.ffmpeg.org/ffmpeg/trunk
* more format abbreviationsBenoit Fouet2007-04-241-0/+24
| | | | Originally committed as revision 8798 to svn://svn.ffmpeg.org/ffmpeg/trunk
* dont assert(0) due to buggy rm demuxerMichael Niedermayer2007-04-221-0/+4
| | | | Originally committed as revision 8790 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix av_seek_frame_generic() so that it doesnt fail if theMichael Niedermayer2007-04-221-1/+1
| | | | | | requested timestamp is after the last with backward flag Originally committed as revision 8783 to svn://svn.ffmpeg.org/ffmpeg/trunk
* init packet before calling the demuxerMichael Niedermayer2007-04-221-0/+3
| | | | | | fixed random/uninitalized AVPacket->pos Originally committed as revision 8781 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove possibly broken wince cruftAlex Beregszaszi2007-04-201-2/+0
| | | | Originally committed as revision 8763 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add an enum for need_parsingAurelien Jacobs2007-04-151-4/+4
| | | | Originally committed as revision 8742 to svn://svn.ffmpeg.org/ffmpeg/trunk
* timestamps generation improvement when parsing aviJoakim Plate2007-04-131-0/+11
| | | | | | | | | patch by Joakim \ elupus chez ecce dot se / original thread: date: 03/19/2007 01:47 AM subject: [Ffmpeg-devel] [RFC] Improvement for the odd timestamp generation when parser is in use. Originally committed as revision 8725 to svn://svn.ffmpeg.org/ffmpeg/trunk
* DVR-MS probe audio formatJohn Donaghy2007-04-121-0/+46
| | | | | | | | | patch by John Donaghy \ johnfdonaghy chez gmail dot com / Original thread: date: 03/13/2007 04:56 PM subject: [Ffmpeg-devel] [PATCH] DVR-MS probe audio format - was DVR-MS bug (MP2 decoding) Originally committed as revision 8715 to svn://svn.ffmpeg.org/ffmpeg/trunk
* allocate 32 extra bytes at the end of the probe buffer and remove most probe ↵Michael Niedermayer2007-04-081-1/+1
| | | | | | buf_size checks Originally committed as revision 8677 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add some help for the analyzeduration option.Víctor Paesa2007-04-061-1/+1
| | | | | | patch by Víctor Paesa, wzrlpy arsystel com Originally committed as revision 8631 to svn://svn.ffmpeg.org/ffmpeg/trunk
* analyze end condition must match r_fps selection conditionMichael Niedermayer2007-03-301-1/+1
| | | | | | fixes fps for Channel\ 4\ News_Channel\ 4_20_10_2006_19_00_01.dvr-ms Originally committed as revision 8557 to svn://svn.ffmpeg.org/ffmpeg/trunk
* require at least a score of AVPROBE_SCORE_MAX/4 or reaching of PROBE_BUF_MAXMichael Niedermayer2007-03-271-6/+11
| | | | | | | to detect a container fixes probing of mpeg_probe_fail.mpg Originally committed as revision 8535 to svn://svn.ffmpeg.org/ffmpeg/trunk
* av_estimate_timings_from_pts() flushes the packet queue but doesn'tWolfram Gloger2007-03-211-17/+4
| | | | | | | | | | | | | | | reset the streams' cur_dts values. This can lead to a fatal "error, non monotone timestamps ..." message later, because the out-of-date cur_dts values are used to compute some packet's dts. Fix this by calling av_read_frame_flush() and eliminate code duplication in the process. The additional hunk gives more detailed error messages. patch by Wolfram Gloger, wmglo dent.med.uni-muenchen de Originally committed as revision 8465 to svn://svn.ffmpeg.org/ffmpeg/trunk
* revert r8428, the check was not that uselessMichael Niedermayer2007-03-201-1/+1
| | | | | | should fix constant pts=0 with broken demuxers Originally committed as revision 8454 to svn://svn.ffmpeg.org/ffmpeg/trunk
* i think this is more correctMichael Niedermayer2007-03-201-1/+1
| | | | Originally committed as revision 8452 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove incorrect special case for audioMichael Niedermayer2007-03-171-9/+0
| | | | Originally committed as revision 8433 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix indentionMichael Niedermayer2007-03-171-42/+42
| | | | Originally committed as revision 8432 to svn://svn.ffmpeg.org/ffmpeg/trunk
* reorder pts into dts supportMichael Niedermayer2007-03-171-2/+17
| | | | Originally committed as revision 8431 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove useless if()Michael Niedermayer2007-03-171-1/+1
| | | | Originally committed as revision 8428 to svn://svn.ffmpeg.org/ffmpeg/trunk
* simplifyMichael Niedermayer2007-03-171-12/+7
| | | | Originally committed as revision 8427 to svn://svn.ffmpeg.org/ffmpeg/trunk
* simplifyMichael Niedermayer2007-03-171-14/+6
| | | | Originally committed as revision 8426 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove silly video check, theres nothing video specific in thereMichael Niedermayer2007-03-161-2/+0
| | | | Originally committed as revision 8425 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add a delay variable to hold the timestamp buffer sizeMichael Niedermayer2007-03-161-4/+4
| | | | | | set cur_dts correctly for delay>1 Originally committed as revision 8424 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove special case for h.264 whatever this was supposed to do its not correctMichael Niedermayer2007-03-161-2/+1
| | | | Originally committed as revision 8423 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Introduce two new logging functions av_hex_dump_log() and av_pkt_dump_log()Panagiotis Issaris2007-03-121-19/+43
| | | | | | which use av_log() for logging instead of fprintf(). Originally committed as revision 8339 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove codec_info_duration/nb_frames from AVStreamBaptiste Coudurier2007-03-121-7/+6
| | | | Originally committed as revision 8337 to svn://svn.ffmpeg.org/ffmpeg/trunk