summaryrefslogtreecommitdiff
path: root/libavformat
Commit message (Collapse)AuthorAge
* webm: support stereo videos in matroska/webm muxerAlok Ahuja2011-05-28
| | | | | Create a stereo_mode metadata tag to specify the stereo 3d video layout using the StereoMode tag in a matroska/webm video track.
* lavf: deprecate AVFormatParameters.pix_fmt.Anton Khirnov2011-05-27
|
* rawdec: add a pixel_format private option.Anton Khirnov2011-05-27
|
* movenc: Deprecate the global RTP hinting flag, use a private AVOption insteadMartin Storsjö2011-05-27
| | | | | | Instead of -fflags rtphint, set -movflags rtphint instead. Signed-off-by: Martin Storsjö <martin@martin.st>
* movenc: Add an AVClass for setting muxer specific optionsMartin Storsjö2011-05-27
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* tcp: make connect() timeout properlyLuca Barbato2011-05-27
| | | | | The connect() timeout can take minutes, gets misreported as EIO and isn't interruptible.
* rawdec: factor video demuxer definitions into a macro.Anton Khirnov2011-05-27
|
* rtspdec: add initial_pause private option.Anton Khirnov2011-05-27
| | | | Deprecate corresponding AVFormatParameters field.
* lavf: deprecate AVFormatParameters.width/height.Anton Khirnov2011-05-27
|
* tty: add video_size private option.Anton Khirnov2011-05-27
|
* rawdec: add video_size private option.Anton Khirnov2011-05-27
|
* id3v2: Check malloc result. ID3v2 tags can be very large.Alex Converse2011-05-26
|
* id3v2: Initialize tflags for version 2.2.Alex Converse2011-05-26
|
* lavf: initialize demuxer private options.Anton Khirnov2011-05-26
|
* Mark parameterless function declarations as 'void'.Diego Biurrun2011-05-26
|
* avformat: Add fpsprobesize as an AVOption.Alex Converse2011-05-25
|
* rtmp: ReindentMartin Storsjö2011-05-25
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtmp: Don't try to do av_malloc(0)Martin Storsjö2011-05-25
| | | | | | | | | Some received packets can have size 0. The return value from av_malloc(0) may be NULL, which is ok if the size was 0. On OS X, however, the returned pointer is non-null but leads to crashes when trying to free it. Signed-off-by: Martin Storsjö <martin@martin.st>
* tty: replace AVFormatParameters.sample_rate abuse with a private option.Anton Khirnov2011-05-25
|
* Fix end time of last chapter in compute_chapters_endJohn Stebbins2011-05-25
| | | | | | Parenthesis are misplaced in calculation of max_time. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavf: deprecate AVFormatParameters.channel.Anton Khirnov2011-05-25
|
* lavf: deprecate AVFormatParameters.standard.Anton Khirnov2011-05-25
|
* lavf: deprecate AVFormatParameters.{channels,sample_rate}.Anton Khirnov2011-05-25
|
* rawdec: add sample_rate/channels private options.Anton Khirnov2011-05-25
|
* lavf: deprecate AVFormatParameters.mpeg2ts_raw.Anton Khirnov2011-05-25
| | | | It doesn't do anything except produce an error message when set.
* mpegts: add compute_pcr option.Anton Khirnov2011-05-25
| | | | Deprecate the corresponding AVFormatParameters field.
* lavf: add priv_class field to AVInputFormat.Anton Khirnov2011-05-25
|
* rtsp: use strtoul to parse rtptime and seq values.Ilya2011-05-24
| | | | | | | strtol could return negative values, leading to various error messages, mainly "non-monotonically increasing dts". Signed-off-by: Anton Khirnov <anton@khirnov.net>
* ape: Allow demuxing of files with metadata tags.Carl Eugen Hoyos2011-05-24
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* multiple inclusion guard cleanupDiego Biurrun2011-05-21
| | | | | Add missing multiple inclusion guards; clean up #endif comments; add missing library prefixes; keep guard names consistent.
* avio: document buffer must created with av_malloc() and friendsCan Wu2011-05-21
| | | | | | Else a later buffer resize in ffio_set_buf_size() will ABORT. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avio: check AVIOContext malloc failureCan Wu2011-05-21
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* mpegtsenc: Add an AVClass pointer to the private dataMartin Storsjö2011-05-20
| | | | | | | | | | Since a private class is set for this muxer, the callers will assume that the private data starts with an AVClass pointer. If no such member exists, the first few bytes of the struct will be overwritten, and the class pointer may be broken at any later time. Signed-off-by: Martin Storsjö <martin@martin.st>
* Remove silly insults from avformat_version() Doxygen documentation.Diego Biurrun2011-05-19
|
* asfdec: add missing #include for av_bswap32()Mans Rullgard2011-05-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* lavf: remove duplicate assignment in avformat_alloc_context.Anton Khirnov2011-05-17
| | | | AVClass is already initialized in avformat_get_context_defaults.
* lavf: use designated initializers for AVClasses.Anton Khirnov2011-05-17
|
* flvdec: clenup debug codeAlex Converse2011-05-17
|
* asfdec: fix possible overread on broken files.Uoti Urpala2011-05-17
|
* asfdec: do not fall back to binary/generic searchVladimir Pantelic2011-05-17
| | | | | | | | | | 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.
* asfdec: reindent after previous commit c7bd5edVladimir Pantelic2011-05-17
|
* asfdec: fallback to binary search internallyVladimir Pantelic2011-05-17
| | | | lavf will do that anyway in case seek by index fails
* movenc: always write esds descriptor length using 4 bytes.Baptiste Coudurier2011-05-13
| | | | | | ipod shuffle doesn't support anything else. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* rtpdec_qdm2: Don't try to parse data packet if no configuration is receivedMartin Storsjö2011-05-13
| | | | | | | | The later parsing of payload data depends on the configuration being present. If it hasn't been configured properly yet, parsing a data packet may lead to a crash. Signed-off-by: Martin Storsjö <martin@martin.st>
* matroskaenc: make sure we don't produce invalid file with no codec IDAurelien Jacobs2011-05-12
| | | | | Signed-off-by: Aurelien Jacobs <aurel@gnuage.org> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* matroskadec: check that pointers were initialized before accessing themAurelien Jacobs2011-05-12
| | | | | Signed-off-by: Aurelien Jacobs <aurel@gnuage.org> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavf: fix function name in compute_pkt_fields2 av_dlog messageStefano Sabatini2011-05-12
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavf: fix av_find_best_stream when providing a wanted stream.Marton Balint2011-05-12
| | | | | | | | | | | | | 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>
* lavf: fix av_find_best_stream when decoder_ret is given and using a related ↵Marton Balint2011-05-12
| | | | | | | | | 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>
* mov: Support edit list atom version 1.Yusuke Nakamura2011-05-12
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>