Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-09-30lavf: Avoid using av_malloc(0) in av_dump_formatMartin Storsjö
On OS X, av_malloc(0) returns pointers that cause crashes when freed. Signed-off-by: Martin Storsjö <martin@martin.st>
2011-09-26oggdec: add support for Xiph's CELT codecNicolas George
This patch also introduces CODEC_ID_CELT. Signed-off-by: Nicolas George <nicolas.george@normalesup.org> Signed-off-by: Diego Biurrun <diego@biurrun.de>
2011-09-25lavf: do not set codec_tag for rawvideoMans Rullgard
If the demuxer did not set a codec_tag, there is none and inventing one makes no sense. This change stops the rawvideo "decoder" over-writing user-supplied pixfmt with one derived from the codec_tag. The pixfmt-codec_tag-pixfmt round-trip is lossy since several pixfmts map to the same codec_tag. This fixes fate-lavf-pixfmt with avfilter disabled. Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-09-23prores: mark prores as intra-only in libavformat/utils.c:is_intra_only()Diego Biurrun
2011-09-19lavf: Fix context pointer in av_open_input_stream when avformat_open_input failsDavid Goldwich
Signed-off-by: David Goldwich <david.goldwich@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-09-14lavf utils: Remove write-only variableAlex Converse
2011-09-14lavf utils: Rename shadowing variableAlex Converse
2011-08-23lavf utils: Fix bad indentation.Alex Converse
2011-08-16lavf: add avformat_query_codec().Anton Khirnov
It allows to check if a given codec can be written into a container.
2011-08-02lavf: Add an option to discard corrupted framesZohar Kelrich
Signed-off-by: Zohar Kelrich <lumimies@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2011-07-29probe: Fix insane flow control.Alex Converse
A loop control variable was shadowed inside the loop and never updated.
2011-07-17lavf: rename enc variable in utils.c:has_codec_parameters()Stefano Sabatini
Rename it to "avctx", the old name was confusing as the function is used also with decoder contexts. Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-07-15lavf/utils: drop av_ prefixes from static functions.Anton Khirnov
2011-07-14avformat_open_input(): Add braces to shut up gcc warning.Diego Biurrun
libavformat/utils.c:599: warning: missing braces around initializer libavformat/utils.c:599: warning: (near initialization for ‘ap.time_base’)
2011-07-14lavf: fix invalid reads in avformat_find_stream_info()Anton Khirnov
2011-07-13lavf: fix segfault in av_open_input_stream()Anton Khirnov
ic is NULL in case of error.
2011-07-13lavf: Cleanup try_decode_frame() logic.Alex Converse
This fixes AAC playback in ffplay.
2011-07-13Add a check for strptime().Anton Khirnov
It's an XSI extension, not available on some supported systems.
2011-07-13lavf: factor out conversion of ISO8601 string to unix timeAnton Khirnov
2011-07-10lavc: make avcodec_alloc_context3 officially public.Anton Khirnov
Deprecate avcodec_alloc_context/2.
2011-07-10lavf: add avformat_find_stream_info()Anton Khirnov
It supports passing options to codecs.
2011-07-09lavf: update AVStream.nb_frames when muxing.Anton Khirnov
2011-07-04Do not include mathematics.h in avutil.hMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-07-02lavf: restore old behavior for custom AVIOContex with an AVFMT_NOFILE format.Anton Khirnov
av_open_input_stream used to allow this, even though it makes no sense. Make it just print a warning instead of failing, thus restoring compatibility. Note that avformat_open_input() will still reject this combination. Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-07-02lavf: use the correct pointer in av_open_input_stream().Anton Khirnov
2011-06-30Add support for aac streams in mp4/mov without extradata.Benjamin Larsson
2011-06-30av_find_stream_info: simplify EAGAIN handling.Ami Fischman
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-06-19lavf: prevent crash in av_open_input_file() if ap == NULL.Ronald S. Bultje
Needed for proper behaviour in our old API compatibility code.
2011-06-18lavf: add a forgotten NULL check in convert_format_parameters().Anton Khirnov
2011-06-16lavf: add avformat_write_header() as a replacement for av_write_header().Anton Khirnov
It supports more convenient setting of AVOptions.
2011-06-16Deprecate av_open_input_* and remove their uses.Anton Khirnov
Deprecate the last remaining member of AVFormatParameters.
2011-06-16lavf: add avformat_open_input() as a replacement for av_open_input_*Anton Khirnov
Add support for demuxer private options.
2011-06-14utils: Drop pointless '#if 1' preprocessor directive.Diego Biurrun
2011-06-13lavf: initialise reference_dts in av_estimate_timings_from_pts.Michael Niedermayer
Fixes issue2437. Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-06-10Replace DEBUG_SEEK/DEBUG_SI + av_log combinations by av_dlog.Diego Biurrun
2011-06-10lavf: make compute_pkt_fields2() return meaningful error valuesStefano Sabatini
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-06-08lavf: don't try to free private options if priv_data is NULL.Anton Khirnov
This might happen if there was an error before priv_data was allocated and result in segfault.
2011-06-08Remove all uses of now deprecated metadata functions.Anton Khirnov
2011-06-05lavf,lavc: free avoptions in a generic way.Anton Khirnov
It's simpler and less error-prone. Fixes some memleaks along the way.
2011-06-03Mark some variables with av_unusedMans Rullgard
Most of these variables are only used in av_dlog statements, some are required but not used by other macros. Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-05-26lavf: initialize demuxer private options.Anton Khirnov
2011-05-25avformat: Add fpsprobesize as an AVOption.Alex Converse
2011-05-25Fix end time of last chapter in compute_chapters_endJohn Stebbins
Parenthesis are misplaced in calculation of max_time. Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-05-18asfdec: do not fall back to binary/generic searchVladimir Pantelic
asf_read_seek() inside the asf demuxer already does the right thing, it tries the index and if that fails it uses binary search. If binary search is called from outside of asfdec.c it will fail because the asf code cannot clean up after itself. Therefore introduce AVFMT_NOBINSEARCH that prevents the seek code to fallback to binary search and AVFMT_NOGENSEARCH that prevents the seek code to fallback to generic search.
2011-05-12lavf: fix function name in compute_pkt_fields2 av_dlog messageStefano Sabatini
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-05-12lavf: fix av_find_best_stream when providing a wanted stream.Marton Balint
In the main loop, stream_number is incremented after checking the stream type, so the search usually will not find the wanted stream. This patch eliminates the useless stream_number variable and introduces a new one, called real_stream_index to store the real stream index of the current stream, no matter if we are looping through all the streams or only the streams of a program. Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-05-12lavf: fix av_find_best_stream when decoder_ret is given and using a related ↵Marton Balint
stream. Yet another fix for the code originally designed for use without related_stream. Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-05-10lavf/utils: fix ff_interleave_compare_dts corner case.Vitor Sessak
This should fix behavior introduced by commit 96573c0d7605672d69b42ae1dcf18764ce47c71a. Av_rescale_rnd() is not lossless so if two timestamps are equal after being rescaled they are not always actually identical. This patch use av_compare_ts() to get always a correct result. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-05-02Replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*.Stefano Sabatini
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2011-04-30lavf: inspect more frames for fps when container time base is coarseAnssi Hannula
As per issue2629, most 23.976fps matroska H.264 files are incorrectly detected as 24fps, as the matroska timestamps usually have only millisecond precision. Fix that by doubling the amount of timestamps inspected for frame rate for streams that have coarse time base. This also fixes 29.970 detection in matroska. Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 78431098f9e306ebe27e7698d0ae539e3df2afe9) Tested with mplayer based on this report http://thread.gmane.org/gmane.comp.video.mplayer.user/66043/focus=66063 Signed-off-by: Reinhard Tartler <siretart@tauware.de>