aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* avutil/mips: loongson add mmi utils header fileZhou Xiaoyong2016-10-231-0/+241
| | | | | | | 1.mmiutils.h defined MMI_ load/store macros for loongson2e/2f/3a 2.mmiutils.h defined some mmi assembly macors Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavf/mpegts: add missed fixes to scte35 section callbackCarlos Fernandez2016-10-231-4/+5
| | | | | | They somehow got lost along the patch versions. Signed-off-by: Marton Balint <cus@passwd.hu>
* avcodec/cuvid: Allow reinitialization of decoderPhilip Langdale2016-10-221-3/+5
| | | | In practice, this works fine.
* avformat/matroskaenc: write DisplayWidth and DisplayHeight elements only if ↵James Almer2016-10-222-3/+5
| | | | | | they differ from PixelWidth and PixelHeight Signed-off-by: James Almer <jamrial@gmail.com>
* mpegts: handle AVMEDIA_TYPE_UNKNOWN correctlyAndreas Cadhalpun2016-10-221-1/+2
| | | | | | | | | It is negative, so can't be used for left shifting. This fixes ubsan runtime error: shift exponent -1 is negative Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* avutil/avassert: Add av_assertX_fpu()Michael Niedermayer2016-10-224-1/+26
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/snowenc: Clear MMX state after edge drawing and picture encodeMichael Niedermayer2016-10-221-0/+2
| | | | | | Fixes undefined behavior from calling libc allocation with unclean FPU state. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/mpegvideo_enc: Add missing emms_c() to clear MMX state after SIMD useMichael Niedermayer2016-10-221-0/+1
| | | | | | Fixes undefined behavior due to calling libc allocation with unclean FPU state Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/utils: Move emms_c() before memory allocation functions in ↵Michael Niedermayer2016-10-221-1/+2
| | | | | | avcodec_encode_video2() Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/cavsdec: Clear MMX state after MB decode loopMichael Niedermayer2016-10-221-0/+1
| | | | | | | The MMX state must be cleared between using MMX and using memory allocation thats basically the only location between the 2 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/svq1enc: Clear MMX state after svq1_encode_plane()Michael Niedermayer2016-10-221-3/+6
| | | | | | svq1_encode_plane() uses SIMD and we call libc memory allocation functions after it Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavf/rtpdec_g726: Map mime type G726 to g726le.Carl Eugen Hoyos2016-10-225-2/+17
| | | | | | | | | | Add new mime types AAL2-G726 for g726 as suggested in rfc 3551. This patch will break interaction with applications that incorrectly use big-endian G.726 with mime type G726 but we know of at least one device (DVTel camera) that correctly implements the rfc, so do the same. Fixes ticket #5890.
* lavc/libvpxenc: fix -auto-alt-ref option typeKagami Hiiragi2016-10-211-2/+3
| | | | | | | | vp9_cx_iface actually allows values in range [0..2]. This fixes ticket #5894. Signed-off-by: Kagami Hiiragi <kagami@genshiken.org> Signed-off-by: James Zern <jzern@google.com>
* doc: fix spelling errorsAndreas Cadhalpun2016-10-2118-25/+25
| | | | | | | | Thanks to Mathieu Malaterre <malat@debian.org> for reporting the Que/Queue typo. (https://bugs.debian.org/839542) Reviewed-by: Lou Logan <lou@lrcd.com> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* lavf/mpegts: SCTE-35 extraction from mpegtsCarlos Fernandez2016-10-211-1/+45
| | | | | | | Reviewed-by: Marton Balint <cus@passwd.hu> Acked-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Carlos Fernandez <carlos@ccextractor.org> Signed-off-by: Marton Balint <cus@passwd.hu>
* lavc: add SCTE-35 CUI codec IDCarlos Fernandez2016-10-212-0/+7
| | | | | | Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Carlos Fernandez <carlos@ccextractor.org> Signed-off-by: Marton Balint <cus@passwd.hu>
* lavd/decklink_dec: fix indentationMarton Balint2016-10-211-11/+11
| | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* lavd/decklink_dec: add option to disable drawing bars on signal lossMarton Balint2016-10-216-2/+10
| | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* avformat/mxfdec: Check size to avoid integer overflow in mxf_read_utf16_string()Michael Niedermayer2016-10-211-1/+1
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/mxfdec: Fix mixed declaration and codeMichael Niedermayer2016-10-211-2/+5
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* mpeg12dec: unref discarded picture from extradataAndreas Cadhalpun2016-10-211-0/+1
| | | | | | | | Otherwise another frame gets referenced into picture, triggering an assert (from commit 13aae8) in av_frame_ref. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* cavsdec: unref frame before referencing againAndreas Cadhalpun2016-10-211-0/+2
| | | | | | | | This fixes asserts (from commit 13aae8) in av_frame_ref and av_frame_move_ref. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* dcstr: fix division by zeroAndreas Cadhalpun2016-10-211-1/+7
| | | | | | | Also check for possible overflows. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* aiff: check block_align in aiff_read_packetAndreas Cadhalpun2016-10-211-0/+5
| | | | | | | | It can be unset in avcodec_parameters_from_context and a value of 0 causes SIGFPE crashes. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* avcodec/vda: define av_vda_default_init2 when CONFIG_H264_VDA_HWACCEL equ 0Steven Liu2016-10-211-0/+5
| | | | | | | | | | | | | | on OSX: ../configure --disable-everything --enable-demuxer=hls make error message: Undefined symbols for architecture x86_64: "_av_vda_default_init2", referenced from:_videotoolbox_init in ffmpeg_videotoolbox.o so add av_vda_default_init2 when CONFIG_H264_VDA_HWACCEL=0 Signed-off-by: Steven Liu <lq@chinaffmpeg.org> Reviewed-by: wm4 <nfxjfg@googlemail.com> Reviewed-by: Xidorn Quan <quanxunzhen@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/rtmpproto: Fix RTMP control message handling error in listen mode.Hiroyuki OYAMA2016-10-211-9/+38
| | | | | | | Fix problem to fail by a RTMP Control Message except "Set Chunk Size (1)" after an RTMP handshake. When 'nginx-rtmp-module' relays an RTMP, it sends not only control message 'Set Chunk Size (1)' but also 'Window Acknowledgement Size (5)'. Reviewed-by: Steven Liu <lingjiujianke@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/mpegvideo_enc: Clear mmx state in ff_mpv_reallocate_putbitbuffer()Michael Niedermayer2016-10-211-0/+2
| | | | | | | This function must be called from the mb or slice encoding loop and MMX state may not be clean there Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/utils: Clear MMX state before returning from avcodec_default_execute*()Michael Niedermayer2016-10-211-0/+2
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/dnxhdenc: Move allocation out of radix_sort()Michael Niedermayer2016-10-212-5/+8
| | | | | | Its slow, its not checked, FPU state is not clean either currently there Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavf/segment: decide whether to rename based on list URIRodger Combs2016-10-211-1/+1
| | | | | This fixes the case of writing segments to local files, but the list over a network protocol.
* openssl: Support version 1.1.0.Matt Oliver2016-10-212-64/+102
| | | | | | Fixes #5675 Signed-off-by: Matt Oliver <protogonoi@gmail.com>
* tests/fate: add mxf metadata streams testMark Reid2016-10-213-0/+32
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* libavformat/mxfdec: add metadata streams for external referenced sourclipsMark Reid2016-10-211-3/+44
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* libavformat/mxfdec: don't assume first stream index to be primaryMark Reid2016-10-211-12/+36
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* libavformat/mxfdec: export track name metadataMark Reid2016-10-211-35/+44
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/mxfdec: Detect field_order based on video_line_mapTobias Rapp2016-10-211-15/+60
| | | | | | | | | | | | | | Read video_line_map from MXF generic picture essence descriptor and use it to derive the coded field order. Use field_dominance to derive the display field order from coded field order. If field_dominance is not available the default value "1" is used as defined in SMPTE S377-1. Fixes field_order detection for a bunch of DV/DVCPRO files. The heuristic for deriving coded field order from video_line_map is inspired by MediaInfo. Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* rsd: limit number of channelsAndreas Cadhalpun2016-10-201-1/+3
| | | | | | | | | Negative values don't make sense and too large values can cause overflows. For AV_CODEC_ID_ADPCM_THP this leads to a too small extradata buffer being allocated, causing out-of-bounds writes. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* dxva2: fix surface selection when compiled with both d3d11va and dxva2Hendrik Leppkes2016-10-201-1/+2
| | | | Fixes a regression introduced in 9b462a0b9
* avformat/flvenc: do not attempt to write duration and filesize when not seekableSteven Liu2016-10-201-21/+28
| | | | | | | Its impossible to update the filesize & duration values if seekback is not possible as with live streams Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavc/sheervideo: Increase av_get_codec_tag_string() input buffer size.Carl Eugen Hoyos2016-10-201-1/+1
| | | | A size of 32 is typically used.
* avfilter/firequalizer: use zero phase kernelMuhammad Faiz2016-10-201-11/+15
| | | | | | this makes real-valued kernel Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
* avfilter/showcqt: add cscheme optionMuhammad Faiz2016-10-203-11/+41
| | | | Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
* lavf/riff: Document the interleaving of VSM4 video.Carl Eugen Hoyos2016-10-191-1/+1
|
* avformat: prevent triggering request_probe assert in ff_read_packetAndreas Cadhalpun2016-10-191-1/+1
| | | | | | | | | | | | | If probe_codec is called with pkt == NULL, it sets probe_packets to 0 and request_probe to -1. However, request_probe can change when calling s->iformat->read_packet and thus a probe_packets value of 0 doesn't guarantee a request_probe value of -1. In that case calling probe_codec again is necessary to prevent triggering the assert. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* FATE: Add test for muxing discontinuous MP4 fragments with large timestampsDerek Buitenhuis2016-10-192-9/+35
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* avformat/movenc: Skip duration check for discontinuous fragmentsMichael Niedermayer2016-10-191-1/+2
| | | | | Found-by: Daemon404 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavf/mov: support gopro hero moments udta tagJean Caillé2016-10-191-0/+19
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/vf_scale_npp: select cubic and lanczos as alternative where ↵Sven C. Dack2016-10-191-1/+13
| | | | | | super-sampling is not supported Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
* avcodec/nvenc_hevc: Added missing option -temporal_aqSven C. Dack2016-10-191-0/+1
| | | | | | The option is present in h264_nvenc, but was missing from hevc_nvenc. Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
* avcodec/nvenc: add test for Temporal AQ supportSven C. Dack2016-10-191-0/+6
| | | | | | Adds a check to see if the hardware supports temporal aq. Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>