aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/utils.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Prevent duration calculation code from generating random durations forMichael Niedermayer2008-06-241-0/+3
| | | | | | vorbis in ogg. Originally committed as revision 13958 to svn://svn.ffmpeg.org/ffmpeg/trunk
* uniformize AVStream->priv_data freeing in av_close_input_streamBaptiste Coudurier2008-06-201-0/+1
| | | | Originally committed as revision 13838 to svn://svn.ffmpeg.org/ffmpeg/trunk
* factorize read_header failure freeing codeBaptiste Coudurier2008-06-201-0/+9
| | | | Originally committed as revision 13837 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check if there is at least a stream before writing trailer.Art Clarke2008-06-201-1/+1
| | | | | | Patch by Art Clarke: aclarke vlideshow com Originally committed as revision 13836 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make timestamp debugging work nicer.Michael Niedermayer2008-06-091-2/+4
| | | | Originally committed as revision 13728 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Merge declaration and initialization.Ramiro Polla2008-06-061-2/+1
| | | | Originally committed as revision 13672 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Ensure the first audio stream is selected as the default streamAurelien Jacobs2008-06-031-1/+4
| | | | | | when no video stream is present. Originally committed as revision 13648 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make update_initial_durations() also work if a dts occured before aMichael Niedermayer2008-06-031-5/+20
| | | | | | | | sequence header (that is a few known dts/pts but no known durations previously) cnnts1.mpg is one sample affected by this. Originally committed as revision 13640 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not set pts in update_initial_durations() if stream has b frames.Michael Niedermayer2008-06-031-1/+3
| | | | Originally committed as revision 13639 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Audio channels and sample rate must be set in order to skipAndreas Öman2008-06-021-1/+1
| | | | | | additional probing of a stream. Originally committed as revision 13619 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rename last_frame_offset to next_frame_offset, due to r13615Baptiste Coudurier2008-06-021-1/+1
| | | | Originally committed as revision 13618 to svn://svn.ffmpeg.org/ffmpeg/trunk
* redundant check--Michael Niedermayer2008-05-271-1/+2
| | | | Originally committed as revision 13474 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not use the pts/dts calculation code which needs a parser, when no parserMichael Niedermayer2008-05-271-1/+1
| | | | | | is available. Originally committed as revision 13470 to svn://svn.ffmpeg.org/ffmpeg/trunk
* compute the end of all chapters when end is not specified in the containerAurelien Jacobs2008-05-241-0/+22
| | | | Originally committed as revision 13363 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: indentationAurelien Jacobs2008-05-241-1/+1
| | | | Originally committed as revision 13280 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove useless title checkAurelien Jacobs2008-05-241-1/+0
| | | | Originally committed as revision 13279 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Pass time_base as argument to new_chapter() as well.Michael Niedermayer2008-05-231-1/+2
| | | | | | | This fixes the wrong timebase the matroska demuxer had after my previous commits. Maybe we should reduce new_chapter() to just (AVFormatContext, int id) ? Originally committed as revision 13266 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Warn user about invalid timestamps.Michael Niedermayer2008-05-231-0/+12
| | | | Originally committed as revision 13264 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make ff_new_chapter() return AVChapter instead of int so its consistant withMichael Niedermayer2008-05-231-3/+3
| | | | | | | av_new_program() and its simpler to set other fields in AVChapter which arent set by ff_new_chapter(). Originally committed as revision 13262 to svn://svn.ffmpeg.org/ffmpeg/trunk
* s/num_chapters/nb_chapters/ all other similar variables are called nb_*.Michael Niedermayer2008-05-231-5/+5
| | | | Originally committed as revision 13260 to svn://svn.ffmpeg.org/ffmpeg/trunk
* vertical alignMichael Niedermayer2008-05-231-1/+1
| | | | Originally committed as revision 13259 to svn://svn.ffmpeg.org/ffmpeg/trunk
* indentMichael Niedermayer2008-05-231-1/+1
| | | | Originally committed as revision 13258 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove useless title checkMichael Niedermayer2008-05-231-1/+0
| | | | Originally committed as revision 13257 to svn://svn.ffmpeg.org/ffmpeg/trunk
* indentMichael Niedermayer2008-05-231-2/+2
| | | | Originally committed as revision 13256 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add id to AVChapter, untested (where do i find matroska files with chapters?).Michael Niedermayer2008-05-231-4/+15
| | | | Originally committed as revision 13255 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: indentationAurelien Jacobs2008-05-231-1/+1
| | | | Originally committed as revision 13248 to svn://svn.ffmpeg.org/ffmpeg/trunk
* allows adding chapters with NULL titleAurelien Jacobs2008-05-231-0/+1
| | | | Originally committed as revision 13247 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add support for chapters definition in lavfAnton Khirnov2008-05-221-0/+18
| | | | | | patch by Anton Khirnov wyskas _at_ gmail _dot_ com Originally committed as revision 13240 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use full path for #includes from another directory.Diego Biurrun2008-05-091-2/+2
| | | | Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unnecessary parentheses from return calls.Diego Biurrun2008-05-061-1/+1
| | | | Originally committed as revision 13069 to svn://svn.ffmpeg.org/ffmpeg/trunk
* minor memleakMichael Niedermayer2008-04-241-0/+1
| | | | Originally committed as revision 12945 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Print duration with higher precision.Diego Biurrun2008-04-161-2/+2
| | | | | | patch from Hervé Flores, herve.flores free fr Originally committed as revision 12847 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not detect a format if another has the same score.Michael Niedermayer2008-04-151-1/+2
| | | | Originally committed as revision 12837 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not call update_initial_durations if pkt->duration is 0.Reimar Döffinger2008-04-131-1/+1
| | | | | | | Fixes and assertion crash when playing amv files, e.g. http://samples.mplayerhq.hu/amv/Shakira - Hips Don't Lie.amv Originally committed as revision 12797 to svn://svn.ffmpeg.org/ffmpeg/trunk
* typo: occured --> occurredDiego Biurrun2008-03-221-1/+1
| | | | Originally committed as revision 12549 to svn://svn.ffmpeg.org/ffmpeg/trunk
* typo fixesDiego Biurrun2008-03-151-1/+1
| | | | Originally committed as revision 12449 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Introduce max_picture_buffer variable in AVFormatContext,Ramiro Polla2008-03-081-0/+1
| | | | | | set by rtbufsize option. Originally committed as revision 12383 to svn://svn.ffmpeg.org/ffmpeg/trunk
* do not reset duration_error for all streams, only reset current stream, fix ↵Baptiste Coudurier2008-03-061-1/+1
| | | | | | wrong_fps.gxf Originally committed as revision 12353 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Set indexmem to a saner default.Michael Niedermayer2008-02-241-1/+1
| | | | Originally committed as revision 12190 to svn://svn.ffmpeg.org/ffmpeg/trunk
* revert 12156Michael Niedermayer2008-02-201-21/+9
| | | | | | | | | | Log: Make timestamp interpolation work with mpeg2 field pictures. Cleaner/simpler solutions are welcome. ---- A IMHO cleaner solution has been implemented. Originally committed as revision 12162 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Get rid of a fake timestamp discontinuity at the begin of V.VOB.Michael Niedermayer2008-02-201-2/+3
| | | | | | | | This solution is not really correct but it is quite simple. Correct would be to do a second pass over the packets after all the headers have been collected. Originally committed as revision 12157 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make timestamp interpolation work with mpeg2 field pictures.Michael Niedermayer2008-02-201-9/+21
| | | | | | Cleaner/simpler solutions are welcome. Originally committed as revision 12156 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix timestamps and durations if the first packets have no durations nor ↵Michael Niedermayer2008-02-151-0/+21
| | | | | | | | timestamps, and the information needed to guess the duration only becomes known at a later packet. Originally committed as revision 11963 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove incorrect casts that should have never been there.Michael Niedermayer2008-02-021-2/+2
| | | | Originally committed as revision 11824 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add support for Matroska attachments.Evgeniy Stepanov2008-01-271-0/+1
| | | | | | patch by eugeni _dot_ stepanov _at_ gmail.com and myself Originally committed as revision 11635 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ensure av_rescale_q() can be calculated (won't divide by zero)Aurelien Jacobs2008-01-211-1/+1
| | | | Originally committed as revision 11592 to svn://svn.ffmpeg.org/ffmpeg/trunk
* misc spelling/grammar fixesDiego Biurrun2008-01-161-43/+45
| | | | 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-131-0/+15
| | | | | | | 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-291-1/+1
| | | | 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-291-6/+6
| | | | | | path. Originally committed as revision 11347 to svn://svn.ffmpeg.org/ffmpeg/trunk