summaryrefslogtreecommitdiff
path: root/libavformat/utils.c
Commit message (Collapse)AuthorAge
* Merge libavcore into libavutilReinhard Tartler2011-02-15
| | | | | | | | | | | | It is pretty hopeless that other considerable projects will adopt libavutil alone in other projects. Projects that need small footprint are better off with more specialized libraries such as gnulib or rather just copy the necessary parts that they need. With this in mind, nobody is helped by having libavutil and libavcore split. In order to ease maintenance inside and around FFmpeg and to reduce confusion where to put common code, avcore's functionality is merged (back) to avutil. Signed-off-by: Reinhard Tartler <siretart@tauware.de>
* lavf: add AV_DISPOSITION_CLEAN_EFFECTS flagAnssi Hannula2011-02-14
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* lavf: print stream disposition in dump_stream_formatAnssi Hannula2011-02-13
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* make av_find_best_stream() ignore streams marked with AV_DISPOSITION_*_IMPAIREDPeter Ross2011-02-10
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* Frame-based multithreading framework using pthreadsAlexander Strange2011-02-09
| | | | | | See doc/multithreading.txt for details on use in codecs. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* lavf: rename ff_probe_input_buffer to make it publicAnssi Hannula2011-02-08
| | | | | | | It is useful for applications that hand input data directly to lavf via a ByteIOContext. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* lavf: simplify pb parameter of ff_probe_input_bufferAnssi Hannula2011-02-08
| | | | | | | There is no need to pass the ByteIOContext via a pointer to a pointer anymore. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Make av_set_pts_info keep previous time base if new one is invalid.Reimar Döffinger2011-02-06
| | | | | | Fixes issue 2475. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* libavformat: Add a function for freeing an AVFormatContextMartin Storsjö2011-02-04
| | | | | | | This function is useful for freeing data structures allocated by muxers, which currently have to be freed manually by the caller. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* add ff_index_search_timestamp and ff_add_index_entryPeter Ross2011-02-03
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Make ff_interleave_compare_dts static to utils.c.Diego Elio Pettenò2011-01-25
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* Clarify timestamps related error messages in compute_pkt_fields2().Stefano Sabatini2011-01-11
| | | | Originally committed as revision 26308 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix assertion fail on audio files with invalid sample rates,Daniel Kang2011-01-06
| | | | | | | | fixes issue 2475. Patch by Daniel Kang, daniel.d.kang at gmail Originally committed as revision 26240 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Revert previous commit, as it was not meant to be pushed.Stefano Sabatini2011-01-06
| | | | Originally committed as revision 26239 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Issue more explicit error messages in compute_pkt_fields2().Stefano Sabatini2011-01-06
| | | | Originally committed as revision 26238 to svn://svn.ffmpeg.org/ffmpeg/trunk
* In av_close_input_stream(), flush the packet queue before to actuallyStefano Sabatini2011-01-06
| | | | | | | | | | | | | close the stream. This way the flushed packets can still reference the still unclosed format context. In particular this fixes a spurious error issued when closing the video4linux2 buffer in mmap_release_buffer(), which tries to access the file descriptor of an already closed file. Originally committed as revision 26237 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add AVOption support for muxers.Anssi Hannula2011-01-02
| | | | | | Patch by Anssi Hannula, anssi d hannula a iki d fi Originally committed as revision 26195 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement av_find_best_stream.Nicolas George2010-12-27
| | | | Originally committed as revision 26104 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Allow output formats without any streams.Anton Khirnov2010-12-27
| | | | | | Required for future metadata format. Originally committed as revision 26100 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add ff_find_stream_indexPeter Ross2010-12-26
| | | | Originally committed as revision 26092 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix crash if invalid bit-rate was read from file.David Czech2010-12-20
| | | | | | | | Fixes issue 2426. Patch by David Czech, davidczech510 gmail Originally committed as revision 26061 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add subtitle codec autodetectionAurelien Jacobs2010-12-04
| | | | Originally committed as revision 25884 to svn://svn.ffmpeg.org/ffmpeg/trunk
* In av_find_stream_info, decode more h264 to get correct delay, issue #2020Baptiste Coudurier2010-11-25
| | | | Originally committed as revision 25824 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add av_append_packet function, to be used in code that merges packetsReimar Döffinger2010-11-21
| | | | | | to allow palette handling without using PaletteControl. Originally committed as revision 25777 to svn://svn.ffmpeg.org/ffmpeg/trunk
* av_find_stream_info(): set subtitle codec time_baseAurelien Jacobs2010-11-16
| | | | Originally committed as revision 25758 to svn://svn.ffmpeg.org/ffmpeg/trunk
* allow passing subtitles header between decoder and encoderAurelien Jacobs2010-11-13
| | | | Originally committed as revision 25745 to svn://svn.ffmpeg.org/ffmpeg/trunk
* lavf/utils: use av_{i/o}format_next() instead of first_{i/o}formatAnton Khirnov2010-11-13
| | | | Originally committed as revision 25738 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace deprecated symbols SAMPLE_FMT_* with AV_SAMPLE_FMT_*, and enumStefano Sabatini2010-11-12
| | | | | | SampleFormat with AVSampleFormat. Originally committed as revision 25730 to svn://svn.ffmpeg.org/ffmpeg/trunk
* lavf: simplify setting the encoder ident tag.Anton Khirnov2010-10-16
| | | | | | patch by Anton Khirnov anton _at_ khirnov _dot_ net Originally committed as revision 25504 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add FF_API_SYMVER define to disable symver compatibility functionsAurelien Jacobs2010-10-15
| | | | Originally committed as revision 25491 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add FF_API_FIRST_FORMAT define to drop deprecated first_?format from public apiAurelien Jacobs2010-10-15
| | | | Originally committed as revision 25489 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add FF_API_PARSE_FRAME_PARAM define to disable the deprecatedAurelien Jacobs2010-10-15
| | | | | | parse_image_size() and parse_frame_rate() public functions Originally committed as revision 25485 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add FF_API_URL_SPLIT define to disable the deprecated ff_url_split() functionAurelien Jacobs2010-10-15
| | | | Originally committed as revision 25482 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add FF_API_GUESS_FORMAT define to disable the deprecated guess_format()Aurelien Jacobs2010-10-15
| | | | | | and guess_stream_format() public functions Originally committed as revision 25480 to svn://svn.ffmpeg.org/ffmpeg/trunk
* move av_find_stream_info() info struct to AVStream to avoid messy (re)allocationAurelien Jacobs2010-10-08
| | | | Originally committed as revision 25418 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove useless local variableAurelien Jacobs2010-10-07
| | | | Originally committed as revision 25394 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove useless local allocated start_time arrayAurelien Jacobs2010-10-07
| | | | Originally committed as revision 25393 to svn://svn.ffmpeg.org/ffmpeg/trunk
* properly check for FF_API_MAX_STREAMS instead of LIBAVFORMAT_VERSION_MAJORAurelien Jacobs2010-10-06
| | | | Originally committed as revision 25382 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add new streams API without MAX_STREAMS limitAurelien Jacobs2010-10-06
| | | | | | (disabled until next major bump) Originally committed as revision 25381 to svn://svn.ffmpeg.org/ffmpeg/trunk
* dynamically use nb_streams instead of static use of MAX_STREAMSAurelien Jacobs2010-10-06
| | | | Originally committed as revision 25380 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move handling of ID3v2 to common utils.c code, reducing code duplicationReimar Döffinger2010-10-06
| | | | | | and supporting it for more formats, fixing issue 2258. Originally committed as revision 25378 to svn://svn.ffmpeg.org/ffmpeg/trunk
* find_info_tag: Make sure the output buffer is null terminatedMartin Storsjö2010-10-05
| | | | Originally committed as revision 25353 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add the CODEC_CAP_CHANNEL_CONF capability code and addBenjamin Larsson2010-10-02
| | | | | | | | | that flag to the dca codec. This capability when set will make sure the codec will initialize the channel configuration instead of trusting the container. This fixes issue 2137 and issue 850. Originally committed as revision 25320 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix index_entries pos:Michael Chinen2010-09-27
| | | | | | | | It was being set wrong for files with data_offset > 0 Patch by Michael Chinen, mchinen gmail Originally committed as revision 25239 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move AVOptions from libavcodec to libavutilMichael Niedermayer2010-09-26
| | | | Originally committed as revision 25210 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix formatting for negative start times (issue 2139).Christian d'Heureuse2010-09-07
| | | | | | Patch by Christian d'Heureuse, chdh inventec ch Originally committed as revision 25063 to svn://svn.ffmpeg.org/ffmpeg/trunk
* move stream info arrays into a struct to ease future dynamic allocationAurelien Jacobs2010-09-05
| | | | Originally committed as revision 25045 to svn://svn.ffmpeg.org/ffmpeg/trunk
* avformat: free decryption key in av_close_input_stream()Måns Rullgård2010-08-24
| | | | Originally committed as revision 24899 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make parse_key_value from httpauth a common lavf internal functionMartin Storsjö2010-08-19
| | | | Originally committed as revision 24832 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rename LAVF_API_* defines to FF_API_* to clarify that it is not public APIAurelien Jacobs2010-08-18
| | | | Originally committed as revision 24825 to svn://svn.ffmpeg.org/ffmpeg/trunk