summaryrefslogtreecommitdiff
path: root/libavformat/utils.c
Commit message (Collapse)AuthorAge
* 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
* Fix reading PTSs and DTSs in libavformat, by reverting r8465.Luca Abeni2007-04-26
| | | | | | | 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-24
| | | | Originally committed as revision 8798 to svn://svn.ffmpeg.org/ffmpeg/trunk
* dont assert(0) due to buggy rm demuxerMichael Niedermayer2007-04-22
| | | | 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-22
| | | | | | 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-22
| | | | | | fixed random/uninitalized AVPacket->pos Originally committed as revision 8781 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove possibly broken wince cruftAlex Beregszaszi2007-04-20
| | | | Originally committed as revision 8763 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add an enum for need_parsingAurelien Jacobs2007-04-15
| | | | Originally committed as revision 8742 to svn://svn.ffmpeg.org/ffmpeg/trunk
* timestamps generation improvement when parsing aviJoakim Plate2007-04-13
| | | | | | | | | 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-12
| | | | | | | | | 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-08
| | | | | | 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-06
| | | | | | 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-30
| | | | | | 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-27
| | | | | | | 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-21
| | | | | | | | | | | | | | | 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-20
| | | | | | 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-20
| | | | Originally committed as revision 8452 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove incorrect special case for audioMichael Niedermayer2007-03-17
| | | | Originally committed as revision 8433 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix indentionMichael Niedermayer2007-03-17
| | | | Originally committed as revision 8432 to svn://svn.ffmpeg.org/ffmpeg/trunk
* reorder pts into dts supportMichael Niedermayer2007-03-17
| | | | Originally committed as revision 8431 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove useless if()Michael Niedermayer2007-03-17
| | | | Originally committed as revision 8428 to svn://svn.ffmpeg.org/ffmpeg/trunk
* simplifyMichael Niedermayer2007-03-17
| | | | Originally committed as revision 8427 to svn://svn.ffmpeg.org/ffmpeg/trunk
* simplifyMichael Niedermayer2007-03-17
| | | | Originally committed as revision 8426 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove silly video check, theres nothing video specific in thereMichael Niedermayer2007-03-16
| | | | Originally committed as revision 8425 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add a delay variable to hold the timestamp buffer sizeMichael Niedermayer2007-03-16
| | | | | | 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-16
| | | | 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-12
| | | | | | 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-12
| | | | Originally committed as revision 8337 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move the libavformat public API comments to avformat.h. The comments arePanagiotis Issaris2007-03-03
| | | | | | unmodified. Originally committed as revision 8202 to svn://svn.ffmpeg.org/ffmpeg/trunk
* replace the auto array "duration_error" with a malloced array.Kristian Amlie2007-03-02
| | | | | | | | | | prevents stack overflow on some plateforms patch by Kristian Amlie %kristian A gridmedia P com % Original thread: Date: Mar 1, 2007 11:29 PM Subject: [Ffmpeg-devel] Stack overflow patch Originally committed as revision 8194 to svn://svn.ffmpeg.org/ffmpeg/trunk
* check for any seeking failure during probeBaptiste Coudurier2007-03-01
| | | | Originally committed as revision 8173 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use avcodec_decode_audio2Baptiste Coudurier2007-02-27
| | | | Originally committed as revision 8146 to svn://svn.ffmpeg.org/ffmpeg/trunk
* try to fill in missing bits_per_sampleMichael Niedermayer2007-02-20
| | | | Originally committed as revision 8043 to svn://svn.ffmpeg.org/ffmpeg/trunk
* This fixes error handling for BeOS, removing the need for some ifdefs.François Revol2007-02-13
| | | | | | | | | AVERROR_ defines are moved to avcodec.h as they are needed in there as well. Feel free to move that to avutil/common.h. Bumped up avcodec/format version numbers as though it's binary compatible we will want to rebuild apps as error values changed. Please from now on use return AVERROR(EFOO) instead of the ugly return -EFOO in your code. This also removes the need for berrno.h. Originally committed as revision 7965 to svn://svn.ffmpeg.org/ffmpeg/trunk
* better generic index building and seeking codeMichael Niedermayer2007-02-05
| | | | Originally committed as revision 7841 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix audio corruption when cutting.Wolfram Gloger2007-02-05
| | | | | | Patch by Wolfram Gloger, wmglo dent dot med dot uni-muenchen dot de. Originally committed as revision 7818 to svn://svn.ffmpeg.org/ffmpeg/trunk
* packets must be correctly interleavedMichael Niedermayer2007-02-02
| | | | Originally committed as revision 7805 to svn://svn.ffmpeg.org/ffmpeg/trunk
* make av_find_stream_info() duration user selectableMichael Niedermayer2007-01-23
| | | | Originally committed as revision 7669 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix wrong comment, patch by Michel Bardiaux mbardiaux mediaxim be.Michel Bardiaux2007-01-23
| | | | Originally committed as revision 7659 to svn://svn.ffmpeg.org/ffmpeg/trunk
* set codec_tag from codec_id if its not set and can be set based on the ↵Michael Niedermayer2007-01-21
| | | | | | AVCodecTag tables Originally committed as revision 7600 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Attempt to better document AVFMT_NOFILE.Reimar Döffinger2007-01-19
| | | | Originally committed as revision 7590 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Demuxers with AVFMT_NOFILE will open a (possibly different) file themselves,Reimar Döffinger2007-01-19
| | | | | | so do not probe them if is_opened is set. Originally committed as revision 7589 to svn://svn.ffmpeg.org/ffmpeg/trunk
* removed unused av_frac_setBaptiste Coudurier2007-01-08
| | | | Originally committed as revision 7430 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove #if obsoleted after last major version bumpBaptiste Coudurier2007-01-08
| | | | Originally committed as revision 7429 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 10l, only allocate priv_data if not already doneBaptiste Coudurier2007-01-08
| | | | Originally committed as revision 7428 to svn://svn.ffmpeg.org/ffmpeg/trunk
* humm, actually do what's in the doxyBaptiste Coudurier2007-01-08
| | | | Originally committed as revision 7427 to svn://svn.ffmpeg.org/ffmpeg/trunk
* indentionMichael Niedermayer2007-01-02
| | | | Originally committed as revision 7403 to svn://svn.ffmpeg.org/ffmpeg/trunk
* nth try of getting the frame rate detecton workingMichael Niedermayer2007-01-02
| | | | Originally committed as revision 7402 to svn://svn.ffmpeg.org/ffmpeg/trunk