aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/utils.c
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Fix detected fps for old divx/xvid.Michael Niedermayer2007-12-271-2/+20
| | | | 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-231-0/+2
| | | | | | | 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-201-2/+2
| | | | Originally committed as revision 11278 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use proper url_is_streamed() APIAurelien Jacobs2007-12-191-1/+1
| | | | | | 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-191-3/+3
| | | | Originally committed as revision 11273 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add a av_close_input_stream functionReimar Döffinger2007-12-191-3/+9
| | | | Originally committed as revision 11269 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Allow overriding codec_ids.Michael Niedermayer2007-12-191-1/+18
| | | | 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-171-7/+2
| | | | Originally committed as revision 11254 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify av_open_input_fileReimar Döffinger2007-12-171-13/+5
| | | | 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-171-0/+1
| | | | 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-171-6/+10
| | | | | | | | | 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
* av_*_next() API for libavformatMichael Niedermayer2007-12-121-0/+12
| | | | Originally committed as revision 11206 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Suppress the "redirector hack" from libavformat/utils.c:av_open_input_stream(),Luca Abeni2007-11-291-10/+0
| | | | | | and implement the redirector format more properly. Originally committed as revision 11112 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use dynamically allocated ByteIOContext in AVFormatContextBjörn Axelsson2007-11-211-26/+25
| | | | | | | patch by: Björn Axelsson, bjorn d axelsson a intinor d se thread: [PATCH] Remove static ByteIOContexts, 06 nov 2007 Originally committed as revision 11071 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rename fps(frame per second) to tb(time base) to preventMichael Niedermayer2007-11-131-3/+3
| | | | | | | confusion with the average fps and hopefully stop these "wrong framerate" bug reports Originally committed as revision 11007 to svn://svn.ffmpeg.org/ffmpeg/trunk
* print newline after program id even when the name is missingNico Sabbi2007-10-261-3/+2
| | | | Originally committed as revision 10864 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unused variable, fixes warning:Diego Biurrun2007-10-251-1/+1
| | | | | | | 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-241-4/+3
| | | | | | | | | 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