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-12-20avcodec/magicyuv: add 10 bit supportPaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-12-20avformat/mov.: Make the process of uuid-xmp atom faster.Chen Meng
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-12-18avformat: Auto-detect mjpeg 2000 in mpeg-tsStåle Kristoffersen
This makes it possible to decode motion jpeg 2000 encoded in a transport stream without a correct PMT/PAT. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-12-17avformat/tls: add tls url_get_file_handleJay Ridgeway
Support url_get_file_handle on TLS streams. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-12-16avformat/wavdec: Eliminate goto for clang -O0 DCEMark Harris
Clang is not able to eliminate the reference to ff_spdif_probe() when there is a goto target in the same block and optimization is disabled. This fixes the following build failure on OS X: ./configure --disable-everything --disable-doc \ --enable-decoder=pcm_s16le --enable-demuxer=wav \ --enable-protocol=file --disable-optimizations --cc=clang make ... Undefined symbols for architecture x86_64: "_ff_spdif_probe", referenced from: _set_spdif in libavformat.a(wavdec.o) ld: symbol(s) not found for architecture x86_64 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-12-15avformat/mp3dec: fix msan warning when verifying mpa headerChris Cunningham
MPEG Audio frame header must be 4 bytes. If we fail to read 4 bytes bail early to avoid Use-of-uninitialized-value msan error. Reference https://crbug.com/666874. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-12-15mov: prevent overflow during bit rate calculationAndreas Cadhalpun
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2016-12-15cafdec: prevent overflow during bit rate calculationAndreas Cadhalpun
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2016-12-154xm: prevent overflow during bit rate calculationAndreas Cadhalpun
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2016-12-14Add missing #includes for standalone spherical-information-related headersDiego Biurrun
(cherry picked from commit f912fd767e55bbb5a1554bd99bacab007659609c) Signed-off-by: James Almer <jamrial@gmail.com>
2016-12-14Bump for psd demuxer and decoderMichael Niedermayer
Found-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-12-14libavformat : add Photoshop PSD demuxer.Martin Vignali
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-12-14avformat: fix overflows during bit rate calculationAndreas Cadhalpun
The bit_rate field has type int64_t since commit 7404f3bdb90e6a5dcb59bc0a091e2c5c038e557d. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2016-12-13avformat/utils: Print verbose error message if stream count exceeds max_streamsMichael Niedermayer
Reviewed-by: Andreas Cadhalpun <andreas.cadhalpun@googlemail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-12-13avformat/options_table: Set the default maximum number of streams to 1000Michael Niedermayer
Fixes CVE-2016-9561, Note the security relevance of this is disputed as running out of memory can happen with valid files Suggested-by: Andreas Cadhalpun <andreas.cadhalpun@googlemail.com> Reviewed-by: Andreas Cadhalpun <andreas.cadhalpun@googlemail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-12-12lavf/mov: Accept multiple fourcc for AVID 1:1.Carl Eugen Hoyos
Fixes ticket #5982.
2016-12-12lavf/isom: Support EVRC in pvAuthor files.Carl Eugen Hoyos
Fixes ticket #6014.
2016-12-11avformat/matroskadec: remove the strict unofficial check for Colour elementsJames Almer
Signed-off-by: James Almer <jamrial@gmail.com>
2016-12-11avformat/matroskadec: allocate Colour related fields only if the file ↵James Almer
contains the relevant master The demuxer doesn't fill the defaults if the master isn't present. This results in codecpar->color_space being set with a value of zero (RGB) on such files. Signed-off-by: James Almer <jamrial@gmail.com>
2016-12-09avformat/oggdec: Skip streams in duration correction that did not had their ↵Michael Niedermayer
duration set. Fixes: part of 670190.ogg Fixes integer overflow Found-by: Matt Wolenetz <wolenetz@google.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-12-08avformat: Add max_streams optionMichael Niedermayer
This allows user apps to stop OOM due to excessive number of streams Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-12-08avformat/matroskadec: remove unused variableJames Almer
Signed-off-by: James Almer <jamrial@gmail.com>
2016-12-08avformat/matroskadec: fix memleak on stream side data failureJames Almer
Signed-off-by: James Almer <jamrial@gmail.com>
2016-12-08avformat/matroskadec: add support for Spherical Video elementsJames Almer
Signed-off-by: James Almer <jamrial@gmail.com>
2016-12-08yuv4mpegdec: fix leaking pkt in yuv4_read_packetAndreas Cadhalpun
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2016-12-07mov: Export spherical informationVittorio Giovara
This implements Spherical Video V1 and V2, as described in the spatial-media collection by Google. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2016-12-07lavc: Add spherical packet side data APIVittorio Giovara
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2016-12-07avformat/hlsenc: save the EXT-X-DISCONTINUITY from old listSteven Liu
when use fix ticket 2nd problem. command line test step: rm -rf output*;./ffmpeg -i ~/Movies/objectC/facebook.mp4 -an -c:v copy -f hls -hls_time 4 -hls_list_size 5 -hls_flags +delete_segments -hls_flags +append_list -hls_flags +omit_endlist -hls_flags +discont_start -t 50 output.m3u8 ./ffmpeg -i ~/Movies/objectC/facebook.mp4 -an -c:v libx264 -g 4 -f hls -hls_time 4 -hls_list_size 5 -hls_flags +delete_segments -hls_flags +append_list -hls_flags +omit_endlist -hls_flags +discont_start -t 5 output.m3u8 ./ffmpeg -i ~/Movies/objectC/facebook.mp4 -an -c:v libx264 -g 4 -f hls -hls_time 4 -hls_list_size 5 -hls_flags +delete_segments -hls_flags +append_list -hls_flags +omit_endlist -hls_flags +discont_start -t 5 output.m3u8 result: #EXTM3U #EXT-X-VERSION:3 #EXT-X-TARGETDURATION:5 #EXT-X-MEDIA-SEQUENCE:6 #EXTINF:4.120000, output6.ts #EXT-X-DISCONTINUITY #EXTINF:4.000000, output7.ts #EXTINF:0.960000, output8.ts #EXT-X-DISCONTINUITY #EXTINF:4.000000, output9.ts #EXTINF:0.960000, output10.ts Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
2016-12-06lavf/chromaprint: Update for version 1.4Georgi D. Sotirov
Fixes ticket #5997.
2016-12-06avformat/dump: remove line break on mastering display metadata info dumpJames Almer
Signed-off-by: James Almer <jamrial@gmail.com>
2016-12-06http: move chunk handling from http_read_stream() to http_buf_read().Ronald S. Bultje
2016-12-06http: make length/offset-related variables unsigned.Ronald S. Bultje
Fixes #5992, reported and found by Paul Cher <paulcher@icloud.com>.
2016-12-05lavf: fix the wrong warning msg and comments about av_find_stream_infoJun Zhao
av_find_stream_info() was deprecated by avformat_find_stream_info(), correct the warning message in the avformat_find_stream_info() and comments in the avformat.h Signed-off-by: Jun Zhao <jun.zhao@intel.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-12-05avformat/rtmppkt: Check for packet size mismatchesMichael Niedermayer
Fixes out of array access Found-by: Paul Cher <paulcher@icloud.com> Reviewed-by: Paul Cher <paulcher@icloud.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-12-05avformat/hlsenc: fix ticket id 5988 for DISCONTINUITYSteven Liu
add EXT-X-DISCONTINUITY tag at the position of the append point. Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
2016-12-03avformat/ffmdec: Silence "may be used uninitialized in this function" warningsMichael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-12-03avformat/ffmdec: cleanup on extradata memory allocation failureMichael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-12-03avformat/ffmdec: Forward error code from ffm_read_header()Michael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-12-03avformat/ffmdec: remove last use of st->codecMichael Niedermayer
Reviewed-by: Andreas Cadhalpun <andreas.cadhalpun@googlemail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-12-03lavf/asfdec_f: Remove CR/LF from avpriv_request_sample() call.Carl Eugen Hoyos
2016-12-03avformat/ffmdec: Drop flags2, debug and codec->time_base settingMichael Niedermayer
It should still be possible to set these through recommended_encoder_configuration Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-12-03avformat/ffmdec: Check media type for chunksMichael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-12-03avformat/ffmdec: replace most codec uses by codecparMichael Niedermayer
This is a bit messy as codecar does not support AVOptions so we need to use AVCodecContext where AVOptions are required and copy back and forth. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-12-03avformat/ffmdec: Remove some st->codec uses which set encoder parametersMichael Niedermayer
Modern ffserver should not need these Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-12-03avformat/oggparsespeex: Check frames_per_packet and packet_sizeMichael Niedermayer
The speex specification does not seem to restrict these values, thus the limits where choosen so as to avoid multiplicative overflow Fixes undefined behavior Fixes: 635422.ogg Found-by: Matt Wolenetz <wolenetz@google.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-12-03avformat/utils: Check start/end before computing duration in ↵Michael Niedermayer
update_stream_timings() Fixes undefined behavior Fixes: 637428.ogg Found-by: Matt Wolenetz <wolenetz@google.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-12-02hevc: Support extradata changesVittorio Giovara
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2016-12-02avformat/ffmenc: Remove the last use of st->codecMichael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-12-02avformat/ffmenc: Make ffm_write_header_codec_ctx() use codecparMichael Niedermayer
This would be simpler if codecpar supported AVOptions modern ffserver should be unaffected by this, older ffserver which required the muxer to directly access the encoder could have issues with this, but this direct access is just wrong and unsafe Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-12-02avformat/ffmenc: set bitexact mode for old API without accessing the encoderMichael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>