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
2013-01-20mpegts: Share the cleanup code between the demuxer and lavf-internal parser ↵Martin Storsjö
functions The lavf-internal parser functions are used when receiving mpegts over RTP. This fixes memory leaks in this setup. The normal mpegts demuxer close function was updated in ec7d0d2e in 2004 to fix leaks, but the parsing function used for RTP wasn't updated and has been leaking ever since. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-12-08bitstream: add get_bits64() to support reading more than 32 bits at onceMichael Niedermayer
Also remove a duplicate function in the MPEG-TS demuxer. Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
2012-10-01mpegts: Drop pointless casting of hex_dump_debug argumentsDiego Biurrun
2012-10-01avformat: Convert some commented-out printf/av_log instances to av_dlogDiego Biurrun
2012-09-13mpegts: check substreams before discardingChristian Schmidt
Allow to extract the AC3 core from TrueHD with the "copy" codec. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2012-09-05avopt: Store defaults for AV_OPT_TYPE_INT in the i64 union memberMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-08-07Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov
2012-07-30Improve descriptiveness of a number of codec and container long namesDiego Biurrun
2012-06-19mpegts: remove unused/incomplete/broken seeking codeRonald S. Bultje
2012-06-07mpegts: Remove disabled extension matching probe.Alex Converse
2012-05-03mpegts: Some additional HDMV types and reg descriptors for mpegtsJoakim Plate
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2012-04-27mpegts: Make sure we don't return uninitialized packetsMartin Storsjö
This fixes crashes, where the demuxer could return 0 even if the returned AVPacket isn't initialized at all. This could happen if running into EOF or running out of probesize with non-seekable sources. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-04-23mpegts: Try seeking back even for nonseekable protocolsMartin Storsjö
The mpegts demuxer reads 5 KB at startup just for discovering the packet size. Since the default avio buffer size is 32 KB, the seek back to the start will in most cases be within the avio buffer, and will in most cases succeed even if the actual protocol isn't seekable. This makes the demuxer startup faster/with less data when reading data from a non-seekable input, by not skipping the first few KB. If it fails, don't warn if the protocol isn't seekable, making it behave as before in the failure case. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-04-06cosmetics: Align muxer/demuxer declarationsMartin Storsjö
Also add missing trailing commas, break long codec_tag lines and add spaces in codec_tag declarations. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-03-27mpegts: Fix dead error checksAlex Converse
2012-03-09mpegts: Always honor a registration descriptor if present and there is no ↵Alex Converse
other codec information.
2012-03-03mpegts: Pad the packet buffer in handle_packet().Alex Converse
This allows it to be used with get_bits without the thread of overreads. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
2012-03-03mpegts: Do not call read_sl_header() when no bytes remain in the buffer.Alex Converse
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
2012-01-27lavf: remove AVFormatParameters from AVFormatContext.read_header signatureAnton Khirnov
2011-12-20mpegts: Suppress invalid timebase warnings on DMB streams.Alex Converse
timestamp_len and timestamp_res intialize to zero.
2011-12-20mpegts: Fix typo in handling sections in the PMT.Alex Converse
This was an error rebasing 4682a1dc3aa2554ad7077f5db32d0f2d598d018e for commit. The "pes" variable guaranteed to be NULL in that block.
2011-12-16mpegts: replace some magic numbers with the existing defineVladimir Pantelic
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-12-12Replace all uses of av_close_input_file() with avformat_close_input().Anton Khirnov
2011-12-12lavf: deprecate av_close_input_stream().Anton Khirnov
And remove all its uses.
2011-12-11Fix a bunch of common typos.Diego Biurrun
2011-11-30lavf: make av_set_pts_info private.Anton Khirnov
It's supposed to be called only from (de)muxers.
2011-11-08mpegts: set stream id on just created stream, not an unrelated variableAnton Khirnov
Bug introduced in 84ad31ff180fa089cd6bfd93c246336a16036455. Thanks to Uoti Urpala for finding it.
2011-11-02Remove some stray unnecessary ffmpeg references.Diego Biurrun
2011-10-29mpegts: MP4 SL supportAlex Converse
2011-10-29mpegts: MP4 OD supportAlex Converse
2011-10-29mpegts: Add support for Sections in PMTAlex Converse
2011-10-29mpegts: Replace the MP4 descriptor parser with a recursive parser.Alex Converse
2011-10-29mpegts: Add support for multiple mp4 descriptorsAlex Converse
2011-10-29mpegts: Parse mpeg2 SL descriptors.Alex Converse
2011-10-28lavf: make some seeking functions privateAnton Khirnov
Specifically av_update_cur_dts(), av_seek_frame_binary() and av_gen_search(). They are not supposed to be called outside lavf.
2011-10-19lavf: replace av_new_stream->avformat_new_stream part II.Anton Khirnov
Manual replacements are done in this commit. In many cases, the id is some constant made up number (e.g. 0 for video and 1 for audio), which is then not used in the demuxer for anything. Those ids are removed.
2011-10-19lavf,lavd: replace av_new_stream->avformat_new_stream part I.Anton Khirnov
Trivial replacements with sed are done in this commit: sed 's/av_new_stream(\([^)]*\), 0)/avformat_new_stream(\1, NULL)/'
2011-10-12AVOptions: rename FF_OPT_TYPE_* => AV_OPT_TYPE_*Anton Khirnov
2011-09-21Fix av_dlog invocations with wrong or missing logging context.Diego Biurrun
This fixes build failures with -DDEBUG in CPPFLAGS.
2011-09-11mpegts: improve error reportingGeorgi Chorbadzhiyski
When reporting continuity error show pid, expected and received cc. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2011-09-11mpegts: on seek, reset the cc for all PIDsAviad Rozenhek
Prevent false positive continuity counter error logs. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2011-08-25mp4: Handle non-trivial ES Descriptors.Alex Converse
2011-08-16mpegts: log into an AVFormatContext rather than MpegTSContext.Alex Converse
MpegTSContext's AVClass member can be NULL.
2011-08-15lavf,lavd: remove all usage of AVFormatParameters from demuxers.Anton Khirnov
AVFormatParameters are converted into corresponding private options in av_open_input_file/stream() compat wrappers, so accessing them from demuxers is redundant.
2011-08-02mpegts: Mark wrongly-sized packets as corruptedZohar Kelrich
Signed-off-by: Zohar Kelrich <lumimies@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2011-08-02mpegts: Move scan test to handle_packetsZohar Kelrich
This fixes an issue where packets which start being read while reading the header stick around after a seek. Signed-off-by: Zohar Kelrich <lumimies@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2011-08-02mpegts: Mark corrupted packetsZohar Kelrich
Signed-off-by: Zohar Kelrich <lumimies@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2011-08-02mpegts: Reset continuity counter on seekZohar Kelrich
Signed-off-by: Zohar Kelrich <lumimies@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2011-08-02mpegts: Fix for continuity counterZohar Kelrich
Make continuity counter respect discontinuity flag and null packets. Unpack the adaptation_field_control field. Signed-off-by: Zohar Kelrich <lumimies@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2011-08-02mpegts: Silence "can't seek" warning on unseekableZohar Kelrich
Do not try to seek when we already know we are not allowed to. Silences warning that always happens when streaming. Signed-off-by: Zohar Kelrich <lumimies@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>