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-09-27lxf: check the nb_streams instead of relying on paddingLuca Barbato
Remove the now unneeded stream pointer while at it. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
2013-09-27lxf: remove deplanarization hackPaul B Mahol
Signed-off-by: Luca Barbato <lu_zero@gentoo.org> Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
2013-09-27pcm: support 24-bit/32-bit little-endian planarPaul B Mahol
Used by LXF. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2013-09-27lxf: Support 16-channel filesCarl Eugen Hoyos
Reported, analyzed and tested by Gabriel Gerard. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2013-09-27lxf: Support version 1 filesReimar Döffinger
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2013-09-27lavf: Reset the entry count and allocation size variables on av_reallocp ↵Martin Storsjö
failures When av_reallocp fails, the associated variables that keep track of the number of elements in the array (and in some cases, the separate number of allocated elements) need to be reset. Not all of these might technically be needed, but it's better to reset them if in doubt, to make sure variables don't end up conflicting. Signed-off-by: Martin Storsjö <martin@martin.st>
2013-09-27lavf: Allocate arrays with av_realloc if they will be realloced laterMartin Storsjö
Pointers returned from av_malloc can't in general be passed to av_realloc. Signed-off-by: Martin Storsjö <martin@martin.st>
2013-09-27rtpdec_qt: Add an accidentally removed allocation return value checkMartin Storsjö
This check was mistakenly removed in 5626f994f. Signed-off-by: Martin Storsjö <martin@martin.st>
2013-09-27tls: Add support for listen modeMartin Storsjö
Also add options for specifying a certificate and key, which can be used both when operating as client and as server. Partially based on a patch by Peter Ross. Signed-off-by: Martin Storsjö <martin@martin.st>
2013-09-27http: Pass options through to the nested protocolMartin Storsjö
When passing a dict to the nested protocol, it will consume the used options from it, so a separate copy needs to be used when reopening the connection multiple times. Signed-off-by: Martin Storsjö <martin@martin.st>
2013-09-27tls: Add options for verifying the peer certificateMartin Storsjö
A file containing the trusted CA certificates needs to be supplied via the ca_file AVOption, unless the TLS library has got a system default file/database set up. This doesn't check the hostname of the peer certificate with openssl, which requires a non-trivial piece of code for manually matching the desired hostname to the string provided by the certificate, not provided as a library function. That is, with openssl, this only validates that the received certificate is signed with the right CA, but not that it is the actual server we think we're talking to. Verification is still disabled by default since we can't count on a proper CA database existing at all times. Signed-off-by: Martin Storsjö <martin@martin.st>
2013-09-24matroskadec: check av_strdup() when setting defaultsAnton Khirnov
2013-09-22movenchint: Clear size and len if the realloc failedMartin Storsjö
Previously these were left in an inconsistent state. Pointed out by Michael Niedermayer. Signed-off-by: Martin Storsjö <martin@martin.st>
2013-09-22movenc: Return a proper error code for invalid combinationsMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2013-09-22electronicarts: Check packet sizes before readingMartin Storsjö
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
2013-09-22lavf: Avoid setting avg_frame_rate if delta_dts is negativeMartin Storsjö
This avoids setting avg_frame_rate to invalid (negative) values. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
2013-09-22movenc: Use keyframes as default fragmentation point in ismvMartin Storsjö
Fragmenting blindly to a certain duration isn't a good choice if one should be able to switch between different qualities, therefore default to keyframes instead. Signed-off-by: Martin Storsjö <martin@martin.st>
2013-09-22movenc: Set all implicit flags immediately in mov_write_headerMartin Storsjö
This makes sure other sanity checks for conflicting options can work properly, e.g. for the conflict between the faststart flag when using the ismv mode. Signed-off-by: Martin Storsjö <martin@martin.st>
2013-09-22movenc: Set mov->mode earlier in mov_write_headerMartin Storsjö
This allows simplifying some early checks that depend on the muxer mode. Signed-off-by: Martin Storsjö <martin@martin.st>
2013-09-22tls: Do not abort on non-fatal TLS alerts with gnutlsMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2013-09-22flv: Make onTextData parsing robustLuca Barbato
Certain streaming servers do not preserve the order of the fields.
2013-09-22rtmp: Replace a magic number with a macroLuca Barbato
11 is the RTMP header size.
2013-09-22rtmp: Rewrite embedded flv handlingLuca Barbato
Use update_offset() as done for rtmp audio, video and notifications and read update and write the fields instead of replacing them in the rtmp packet and then memcpying it to the output buffer.
2013-09-22rtmp: Refactor get_packetLuca Barbato
2013-09-22rtmp: Support AMF_DATA_TYPE_MIXEDARRAYLuca Barbato
And fix the AMF_DATA_TYPE_ARRAY parsing while at it. A MIXEDARRAY type, as the ARRAY, store the number of elements in an uint32 before the list. The ARRAY is strict and does not have an OBJECT terminator, MIXEDARRAY behaves like an OBJECT type and a different than stated number of element can be present.
2013-09-20h264dec: Add .avc file name extensionVittorio Giovara
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2013-09-20h264dec: K&R formatting cosmeticsVittorio Giovara
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2013-09-20rtmp: Unbreak get_packetLuca Barbato
Commit 5626f994f273af80fb100d4743b963304de9e05c broke it.
2013-09-20rtmpproto: Add a comment explaining the logic in handle_notifyMartin Storsjö
This explains why the cleanup in 5626f994f was wrong and why ae0f316a was needed. Signed-off-by: Martin Storsjö <martin@martin.st>
2013-09-19r3d: Add more input value validationMartin Storsjö
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
2013-09-19rl2: Avoid a division by zeroMartin Storsjö
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
2013-09-19wtv: Add more sanity checks for a length read from the fileMartin Storsjö
Also make sure the existing length check can't overflow. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
2013-09-19yop: Clear all references to the AVBuffer in the local AVPacketMartin Storsjö
This makes sure that it doesn't try to free an AVBuffer belonging to an earlier packet when we free the local packet at the end. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
2013-09-19segafilm: Validate the number of audio channelsMartin Storsjö
This avoids divisions by zero later. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
2013-09-19movenc: Use null buffers for measuring the amount of data to be writtenMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2013-09-19aviobuf: Add functions for null buffersMartin Storsjö
Null buffers are useful for simulating writing to a real buffer for the sake of measuring how many bytes are written. Signed-off-by: Martin Storsjö <martin@martin.st>
2013-09-19asfenc: mux chapters in ASF files using an ASF "marker" sectionVladimir Pantelic
ASF markers only have a start time, so we lose the chapter end times, but that is ASF for you Signed-off-by: Vladimir Pantelic <vladoman@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
2013-09-19asfenc: remember send time and offset of the index entriesVladimir Pantelic
Signed-off-by: Vladimir Pantelic <vladoman@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
2013-09-19asfenc: add ASF_Reserved_4 as defined in section 10.10 of the ASF specVladimir Pantelic
Signed-off-by: Vladimir Pantelic <vladoman@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
2013-09-19asfdec: replace magic constant with DATA_HEADER_SIZEVladimir Pantelic
Signed-off-by: Vladimir Pantelic <vladoman@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
2013-09-19asfdec: substract preroll time from marker presentation timeVladimir Pantelic
this was forgotten when we changed ASF to not output the preroll time Signed-off-by: Vladimir Pantelic <vladoman@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
2013-09-19idroqdec: Make sure a video stream has been allocated before returning packetsMartin Storsjö
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
2013-09-19rtmp: Unbreak handle_notifyLuca Barbato
Commit 5626f994f273af80fb100d4743b963304de9e05c broke it.
2013-09-18Add a WebP decoderJustin Ruggles
Container and lossy decoding by Aneesh Dogra <aneesh@sugarlabs.org> Lossless decoding by Justin Ruggles <justin.ruggles@gmail.com>
2013-09-18avformat: Use av_reallocp() where suitableAlexandra Khirnova
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2013-09-18rmdec: Validate the fps valueMartin Storsjö
Abort if it is invalid if strict error checking has been requested. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
2013-09-18movenc: Add an option for omitting the tfhd base offsetMartin Storsjö
This makes the output fragments independent of their position in the output stream, making the output work better when streamed. QuickTime Player doesn't support fragmented mp4 without the base data offset, though. Signed-off-by: Martin Storsjö <martin@martin.st>
2013-09-18movenc: Write the moof atom in two passesMartin Storsjö
This is a bit more work, but avoids having to fill in the data offset field afterwards instead of directly when the rest of the trun atom is written. This simplifies future cases where this field needs to be set to something different. Signed-off-by: Martin Storsjö <martin@martin.st>
2013-09-18rtmp: Support reading interleaved chunks.Josh Allmann
A given packet won't always come in contiguously; sometimes they may be broken up on chunk boundaries by packets of another channel. This support primarily involves tracking information about the data that's been read, so the reader can pick up where it left off for a given channel. As a side effect, we no longer over-report the bytes read if (toread = MIN(size, chunk_size)) == size Signed-off-by: Martin Storsjö <martin@martin.st>
2013-09-17xmv: Add more sanity checks for parameters read from the bitstreamMartin Storsjö
Since the number of channels is multiplied by 36 and assigned to to a uint16_t, make sure this calculation didn't overflow. (In certain cases the calculation could overflow leaving the truncated block_align at 0, leading to divisions by zero later.) Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>