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
2016-10-27nsv: Drop unnecessary TRACE level debug codeDiego Biurrun
The output is rather silly and the code uses non-standard __FUNCTION__.
2016-10-25openssl: Avoid double semicolons after the GET_BIO_DATA macroMartin Storsjö
When the macro is expanded with a semicolon following it and the macro itself contains a semicolon, we ended up in double semicolons, which is treated as a statement that disallows further declarations. This avoids errors about mixed declarations and statements on gcc, after ee050797664c. Signed-off-by: Martin Storsjö <martin@martin.st>
2016-10-23openssl: Support version 1.1.0.Matt Oliver
Further simplifications by Martin Storsjö, to minimize the diff. Signed-off-by: Martin Storsjö <martin@martin.st>
2016-10-23rtmpdh: Don't use the OpenSSL DH structMartin Storsjö
Instead use our own struct, which we already use when using gcrypt and gnutls. In OpenSSL 1.1, the DH struct has been made opaque. Signed-off-by: Martin Storsjö <martin@martin.st>
2016-10-22mov: Update colr valuesVittorio Giovara
For 'nclx', the latest edition of the standard switched from JPEG XR to 23001-8, which matches the current order of our entries. Bounds are preserved as a sanity check. For 'nclc', qtff edition 2016-09-13 introduced a few new entries. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2016-10-21lavf: check that the codec is supported by extract_extradataAnton Khirnov
Avoids superfluous error message spam after 8e2ea691351c5079cdab245ff7bfa5c0f3e3bfe4
2016-10-16lavf: use the new bitstream filter for extracting extradataAnton Khirnov
This also fixes a minor bug introduced in the codecpar conversion, where the termination condition for extracting the extradata does not match the actual extradata setting code. As a result, the packet durations made up by lavf go back to their values before the codecpar conversion. That is of little consequence since that code should eventually be dropped completely.
2016-10-16hevcdec: move decoder-independent declarations into a separate headerAnton Khirnov
This way they can be reused by other code without including the whole decoder-specific hevcdec.h Also, add the HEVC_ prefix to them, since similarly named values exist for H.264 as well and are sometimes used in the same code.
2016-10-16hevc: rename hevc.[ch] to hevcdec.[ch]Anton Khirnov
This is more consistent with the rest of libav and frees up the hevc.h name for decoder-independent shared declarations.
2016-10-16avformat/matroska: fix MatroskaVideoFieldOrder enum valuesJames Almer
The spec says 9: Interlaced with bottom field displayed first and top field stored first 14: Interlaced with top field displayed first and bottom field stored first And avcodec.h states AV_FIELD_TB, //< Top coded first, bottom displayed first AV_FIELD_BT, //< Bottom coded first, top displayed first Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
2016-10-16file protocol: handle the file: protocol string in file_checkAnton Khirnov
This is consistent with what file_open() does. CC: libav-stable@libav.org
2016-10-14rtmpproto: Don't include a client version in the unencrypted C1 handshakeMartin Storsjö
According to the public RTMP specification, these 4 bytes should be zero. librtmp in server mode assumes that the RTMPE (FP9) handshake is used if these bytes are nonzero. Signed-off-by: Martin Storsjö <martin@martin.st>
2016-10-14rtmpproto: Don't include the libavformat version as "clientid"Martin Storsjö
When acting as server, the server can include a "clientid" property in some status messages. But this should be a unique number identifying the client session, not identifying the server itself. In practice, omitting it works just as well as including this incorrect field. Signed-off-by: Martin Storsjö <martin@martin.st>
2016-10-14rtmpproto: Send chunk size on the network channelMartin Storsjö
This makes sure that e.g. Adobe FME actually reacts to it. As long as the value we've been sending is the default one (128), the bug hasn't been noticed. Signed-off-by: Martin Storsjö <martin@martin.st>
2016-10-14rtmpproto: Lengthen the filename buffer when receiving streamsMartin Storsjö
Some applications such as Adobe FME append lots of parameters here, making it easily overflow the current limit. Signed-off-by: Martin Storsjö <martin@martin.st>
2016-10-14rtmpproto: Check the return from ff_amf_read_stringMartin Storsjö
If this failed, we used to continue with an uninitialized filename buffer. CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
2016-10-02avidec: Set palette alpha as fully opaqueVittorio Giovara
Palette format is always in RGBA.
2016-10-02avidec: Do not special case palette on big-endianVittorio Giovara
This simplifies the code a bit, does not change output data in any way.
2016-09-30avio: add a new flag for marking streams seekable by timestampAnton Khirnov
2016-09-30avio: cosmetics, prettify AVIO_SEEKABLE_NORMALAnton Khirnov
Move the doxy above the definition, change the value itself to the (1 << n) pattern, which is more readable for flags.
2016-09-30lavf: fix usage of AVIOContext.seekableAnton Khirnov
It is supposed to be a flag. The only currently defined value is AVIO_SEEKABLE_NORMAL, but other ones may be added in the future. However all the current lavf code treats this field as a bool (mainly for historical reasons). Change all those cases to properly check for AVIO_SEEKABLE_NORMAL.
2016-09-15rtsp: Fix a crash with the RTSP muxerMartin Storsjö
This was introduced in bc2a32969e. The whole block that the statement was added to is only relevant when used as a demuxer, but the other statements there have had other if statements guarding them. Make sure to only run this whole block if being used as a demuxer. CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
2016-08-29mov: Remove old b-frame/video delay heuristicDerek Buitenhuis
This was added before edts support existed, and is no longer valid. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2016-08-29mov: Remove ancient heuristic hackDerek Buitenhuis
This breaks files with legitimate single-entry edit lists, and the hack, introduced in f03a081df09f9c4798a17d7e24446ed47924b11b, has no link to any known sample in its commit message. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2016-08-24av1: Add codec_id and basic demuxing supportLuca Barbato
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2016-08-23rtpdec_mpeg4: validate fmtp fieldsLuca Barbato
2016-08-17nsv: Drop disabled cruftDiego Biurrun
2016-08-17wc3movie: Drop unused cruftDiego Biurrun
2016-08-17rm: Drop broken disabled cruftDiego Biurrun
2016-08-10aiff: Skip padding byte for odd-sized chunksDiego Biurrun
Bug-Id: 660
2016-08-03m4vdec: Check for non-startcode 00 00 00 sequences in probeMichael Niedermayer
This makes the m4v detection less trigger-happy. Bug-Id: 949 Signed-off-by: Diego Biurrun <diego@biurrun.de>
2016-08-02Revert "Don't use expressions with side effects in macro parameters"Martin Storsjö
This reverts commit 25bacd0a0c32ae682e6f411b1ac9020aeaabca72. Since 230b1c070, the bytewise AV_W*() macros only expand their argument once, so revert to the more readable version of these. Signed-off-by: Martin Storsjö <martin@martin.st>
2016-07-31Don't use expressions with side effects in macro parametersMartin Storsjö
AV_WB32 can be implemented as a macro that expands its parameters multiple times (in case AV_HAVE_FAST_UNALIGNED isn't set and the compiler doesn't support GCC attributes); make sure not to read multiple times from the source in this case. Signed-off-by: Martin Storsjö <martin@martin.st>
2016-07-31flac demuxer: improve probingAnton Khirnov
Extend the probe function to validate the STREAMINFO block that must follow the fLaC ID tag.
2016-07-31Fix instances of broken indentation found by gcc 6Anton Khirnov
2016-07-29mov: Validate the ID numberLuca Barbato
IDs in MOV start from 1. Signed-off-by: Diego Biurrun <diego@biurrun.de>
2016-07-22riff: don't overwrite bps from WAVEFORMATEX if EXTENSIBLE doesn't contain ↵Hendrik Leppkes
that data. According to the specification on the MSDN [1], 0 is valid for that particular field, and it should be ignored in that case. [1]: http://msdn.microsoft.com/en-us/library/windows/desktop/dd757714(v=vs.85).aspx Bug-Id: 950 Signed-off-by: Anton Khirnov <anton@khirnov.net>
2016-07-20mov: Rework the check for invalid indexes in stscVittorio Giovara
There are samples with invalid stsc that may work fine as is and do not need extradata change. So ignore any out of range index, and error out only when explode is set. Found-by: Matthieu Bouron <matthieu.bouron@stupeflix.com> Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2016-07-20mov: Wrap stsc index and count compare in a separate functionVittorio Giovara
2016-07-20mov: Fix stsc_count comparisonMatthieu Bouron
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2016-07-15mp3enc: write trailing paddingAnton Khirnov
2016-07-15mp3dec: read the initial/trailing padding from the LAME tagAnton Khirnov
2016-07-15mov: fix stream extradata_size allocationMatthieu Bouron
Signed-off-by: Martin Storsjö <martin@martin.st>
2016-07-08movenc: Add an option for skipping writing the mfra/tfra/mfro trailerMartin Storsjö
When writing a fragmented file, we by default write an index pointing to all the fragments at the end of the file. This causes constantly increasing memory usage during the muxing. For live streams, the index might not be useful at all. A similar fragment index is written (but at the start of the file) if the global_sidx flag is set. If ism_lookahead is set, we need to keep data about the last ism_lookahead+1 fragments. If no fragment index is to be written, we don't need to store information about all fragments, avoiding increasing the memory consumption linearly with the muxing runtime. This fixes out of memory situations with long live mp4 streams. Signed-off-by: Martin Storsjö <martin@martin.st>
2016-07-03matroskadec: export CodecDelayAnton Khirnov
2016-07-02oggparseopus: export pre-skipAnton Khirnov
Bug-Id: 945, along with the following commit
2016-06-29mov: Save number of stsd elements after stream extradata allocationVittorio Giovara
Avoid freeing an unallocated array in mov_read_close() in case of a malloc failure. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2016-06-29build: Move MP2 muxer declaration away from MP3 muxer codeDiego Biurrun
The MP2 muxer uses none of the code of the MP3 muxer.
2016-06-28movenc: Apply offsets on timestamps when peeking into interleaving queuesMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2016-06-22librtmp: Avoid an infiniloop setting connection argumentsLuca Barbato
The exit condition was missing. CC: libav-stable@libav.org