summaryrefslogtreecommitdiff
path: root/libavformat/utils.c
Commit message (Collapse)AuthorAge
* redundant check--Michael Niedermayer2008-05-27
| | | | 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-27
| | | | | | 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-24
| | | | Originally committed as revision 13363 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: indentationAurelien Jacobs2008-05-24
| | | | Originally committed as revision 13280 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove useless title checkAurelien Jacobs2008-05-24
| | | | 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-23
| | | | | | | 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-23
| | | | 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-23
| | | | | | | 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-23
| | | | Originally committed as revision 13260 to svn://svn.ffmpeg.org/ffmpeg/trunk
* vertical alignMichael Niedermayer2008-05-23
| | | | Originally committed as revision 13259 to svn://svn.ffmpeg.org/ffmpeg/trunk
* indentMichael Niedermayer2008-05-23
| | | | Originally committed as revision 13258 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove useless title checkMichael Niedermayer2008-05-23
| | | | Originally committed as revision 13257 to svn://svn.ffmpeg.org/ffmpeg/trunk
* indentMichael Niedermayer2008-05-23
| | | | 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-23
| | | | Originally committed as revision 13255 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: indentationAurelien Jacobs2008-05-23
| | | | Originally committed as revision 13248 to svn://svn.ffmpeg.org/ffmpeg/trunk
* allows adding chapters with NULL titleAurelien Jacobs2008-05-23
| | | | Originally committed as revision 13247 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add support for chapters definition in lavfAnton Khirnov2008-05-22
| | | | | | 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-09
| | | | Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unnecessary parentheses from return calls.Diego Biurrun2008-05-06
| | | | Originally committed as revision 13069 to svn://svn.ffmpeg.org/ffmpeg/trunk
* minor memleakMichael Niedermayer2008-04-24
| | | | Originally committed as revision 12945 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Print duration with higher precision.Diego Biurrun2008-04-16
| | | | | | 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-15
| | | | 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-13
| | | | | | | 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-22
| | | | Originally committed as revision 12549 to svn://svn.ffmpeg.org/ffmpeg/trunk
* typo fixesDiego Biurrun2008-03-15
| | | | Originally committed as revision 12449 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Introduce max_picture_buffer variable in AVFormatContext,Ramiro Polla2008-03-08
| | | | | | 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-06
| | | | | | wrong_fps.gxf Originally committed as revision 12353 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Set indexmem to a saner default.Michael Niedermayer2008-02-24
| | | | Originally committed as revision 12190 to svn://svn.ffmpeg.org/ffmpeg/trunk
* revert 12156Michael Niedermayer2008-02-20
| | | | | | | | | | 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-20
| | | | | | | | 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-20
| | | | | | 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-15
| | | | | | | | 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-02
| | | | Originally committed as revision 11824 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add support for Matroska attachments.Evgeniy Stepanov2008-01-27
| | | | | | 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-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