summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* fate: rename fate-mov-init-nonkeyframe ref fileJames Almer2016-12-02
| | | | | | Fixes the test. Regression since 059a786c20201fe4040738c99b02cca0cfc18a74 Signed-off-by: James Almer <jamrial@gmail.com>
* hevc: Support extradata changesVittorio Giovara2016-12-02
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* hevc: Allow parsing external extradata buffersVittorio Giovara2016-12-02
|
* fate/mov: Rename a couple of entries to respect the file naming schemeVittorio Giovara2016-12-02
|
* Add a compat dummy stdatomic.h used when threading is disabledAnton Khirnov2016-12-02
| | | | | | | | | | Adapted from the code by Rémi Denis-Courmont from VLC This merges libav commit eb34d40354e2474517c9b9bd787e0dadc89c2a81. Signed-off-by: Wan-Teh Chang <wtc@google.com> Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* Add a compat stdatomic.h implementation based on pthreadsAnton Khirnov2016-12-02
| | | | | | | | | | Adapted from the code by Rémi Denis-Courmont from VLC This merges libav commit f9a6a80e065cdb95b233978f1d96ec9bc863daa1. Signed-off-by: Wan-Teh Chang <wtc@google.com> Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* Add a compat stdatomic.h implementation based on suncc atomicsAnton Khirnov2016-12-02
| | | | | | | | | | Adapted from the code by Rémi Denis-Courmont from VLC This merges libav commit bb81ed476569b912a37ed553e756e123b6b13b14. Signed-off-by: Wan-Teh Chang <wtc@google.com> Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* Add a compat stdatomic.h implementation based on windows atomicsAnton Khirnov2016-12-02
| | | | | | | | | | Adapted from the code by Rémi Denis-Courmont from VLC This merges libav commit c2755864afadfbaa349e8d583665c86fe99fa90b. Signed-off-by: Wan-Teh Chang <wtc@google.com> Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* Add a compat stdatomic.h implementation based on GCC atomicsAnton Khirnov2016-12-02
| | | | | | | | | | Adapted from the code by Rémi Denis-Courmont from VLC This merges libav commit 4e928ef340ac20325f529d92fcbc51e768085358. Signed-off-by: Wan-Teh Chang <wtc@google.com> Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* avformat/ffmenc: Remove the last use of st->codecMichael Niedermayer2016-12-02
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/ffmenc: Make ffm_write_header_codec_ctx() use codecparMichael Niedermayer2016-12-02
| | | | | | | | | 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>
* avformat/ffmenc: set bitexact mode for old API without accessing the encoderMichael Niedermayer2016-12-02
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/ffmenc: Drop ffm_write_header_codec_private_ctx()Michael Niedermayer2016-12-02
| | | | | | | | | This accesses the private encoder context, it should not be used by the current ffserver it may affect old ffserver versions but i believe there is consens that accessing the private encoder context from the muxer is completely wrong. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/ffmenc: Replace some st->codec use by codecparMichael Niedermayer2016-12-02
| | | | | | Note, this temporarly drops the ability to set ffmpeg encoder debug and flags2 via ffserver.conf Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/vf_premultiply: remove redundant semicolonsMichael Niedermayer2016-12-02
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* matroskadec: partly revert "demux relevant subtitle packets after a seek"Rainer Hochecker2016-12-02
| | | | | | | | | | | | | This reverts parts of c16582579b1c6f66a86615c5808cd5b2bf17be73. The hard coded 30 seconds are a lot, and finishing the seek can takes several seconds when the source is on a network share. Remove this code entirely, because it does more bad than good. (Commit message provided by committer, based on the original messages by the patch author.) Signed-off-by: Rainer Hochecker <fernetmenta@online.de> Signed-off-by: wm4 <nfxjfg@googlemail.com>
* tests/ffserver.regression.ref: Update ffserver checksumsMichael Niedermayer2016-12-01
| | | | | | | They have changed due to 122190392b297b7cd9783641d880df887fd80d07 Reviewed-by: "Reynaldo H. Verdejo Pinochet" <reynaldo@osg.samsung.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/tests/fifo_muxer: includes libavformat/network.h to define ↵Gregory J. Wolfe2016-12-01
| | | | | | ETIMEDOUT for fate build. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter: add premultiply filterPaul B Mahol2016-12-01
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* swscale: add gbr(a)p16 output supportPaul B Mahol2016-12-01
|
* ffserver: set format bitexact flag, eliminate warnings about it not being setMichael Niedermayer2016-12-01
| | | | | | Tested-by: Reto Kromer <lists@reto.ch> Reviewed-by: "Reynaldo H. Verdejo Pinochet" <reynaldo@osg.samsung.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* doc/examples/transcode_aac: fix a typoАлександр Слободенюк2016-12-01
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* ffmpeg: assert return value is initializedTobias Rapp2016-12-01
| | | | | Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavfi: Fix aix compilation.Carl Eugen Hoyos2016-12-01
| | | | | | Rename hz in af_apulsator.c and avf_showspectrum.c as hertz. The aix header sys/m_param.h defines hz as __hz.
* avcodec/vdpau_hevc: Fix potential out-of-bounds writePhilip Langdale2016-11-30
| | | | | | | The maximum number of references is 16, so the index value cannot exceed 15. Fixes Coverity CID 1348139, 1348140, 1348141
* avcodec/crystalhd: Handle errors from av_image_get_linesizePhilip Langdale2016-11-30
| | | | | | This function can return an error in certain situations. Fixes Coverity CID 703707.
* ffserver: fix broken HTML on generated status pageReynaldo H. Verdejo Pinochet2016-11-30
| | | | | | Dropped incompatible/obsoleted HTML tag attributes Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
* tools/coverity: Add model for av_reallocPhilip Langdale2016-11-30
| | | | | Really should have done this last time. It should provide consistency across our allocations and frees.
* avcodec/h264: sse2 and avx 4:2:2 idct add8 10-bit functionsJames Darnley2016-11-30
| | | | | | | | | | | | | | | Yorkfield: - sse2: - complex: 4.13x faster (1514 vs. 367 cycles) - simple: 4.38x faster (1836 vs. 419 cycles) Skylake: - sse2: - complex: 3.61x faster ( 936 vs. 260 cycles) - simple: 3.97x faster (1126 vs. 284 cycles) - avx (versus sse2): - complex: 1.07x faster (260 vs. 244 cycles) - simple: 1.03x faster (284 vs. 274 cycles)
* avcodec/h264: mmx 4:2:2 idct add8 functionJames Darnley2016-11-30
| | | | 2.87 times faster (1830 vs. 638 cycles)
* avcodec/h264: mmxext 4:2:2 chroma intra deblock/loop filterJames Darnley2016-11-30
| | | | 2.1 times faster (401 vs. 194 cycles)
* ffserver: use codec time_base for streamAndreas Cadhalpun2016-11-30
| | | | | | | This fixes producing swf and rm files as done by ffservertest. Reviewed-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* tests: drop -d option from ffserver invocationAndreas Cadhalpun2016-11-30
| | | | | | | | | | It randomly causes failures with an error like: "Failed to set value '-f' for option 'd': Error number -920332800 occurred" (The error number is different every time.) Reviewed-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* tests: print errors from ffserverAndreas Cadhalpun2016-11-30
| | | | | | | | Not doing so makes debugging unnecessarily hard. Reviewed-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com> Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* tools/coverity: Add models for av_mallocz and av_freePhilip Langdale2016-11-30
| | | | | | This should deal with some false positives, but might lead to more of them depending on whether it realises that av_freep() wraps av_free() or not.
* fate: Add test for mov displaymatrixVittorio Giovara2016-11-30
|
* ffprobe: Fix displaying side data list onlyVittorio Giovara2016-11-30
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* mov: Evaluate the movie display matrixVittorio Giovara2016-11-30
| | | | | | | | | This matrix needs to be applied after all others have (currently only display matrix from trak), but cannot be handled in movie box, since streams are not allocated yet. So store it in main context, and apply it when appropriate, that is after parsing the tkhd one. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* avcodec/nvenc: mark intentional fall throughTimo Rothenpieler2016-11-30
|
* avfilter/vf_hwupload_cuda: fix potential leakTimo Rothenpieler2016-11-30
|
* avutil/hwcontext_cuda: check for missing pixel formatTimo Rothenpieler2016-11-30
|
* avfilter/vf_scale_npp: check ff_set_common_formats return valueTimo Rothenpieler2016-11-30
|
* avfilter/vf_scale_npp: move aspect ratio correction after av_frame_copy_propsMiroslav Slugeň2016-11-30
| | | | Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
* avcodec/nvenc: always reduce DAR width and heightMiroslav Slugeň2016-11-30
| | | | Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
* avcodec/nvenc: Delay identification of underlying format of cuda framesPhilip Langdale2016-11-30
| | | | | | | | | | | | | | | | | | When input surfaces are cuda frames, we will not know what the actual underlying format (nv12, p010, etc) is at surface allocation time. On the other hand, we will know when the input frames are actually registered and associated with a surface. So, let's delay format discovery until registration time, which is actually how we handle other frame properties, such as dimensions. By itself, this change doesn't allow for transcoding of 10bit content from cuvid, but it reduces the problem to the hardcoding of the sw format in ffmpeg_cuvid.c Signed-off-by: Philip Langdale <philipl@overt.org> Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
* ffserver: Add client requested urls to the status pageMichael Niedermayer2016-11-30
| | | | | | | Fixes Ticket3791 Reviewed-by: "Reynaldo H. Verdejo Pinochet" <reynaldo@osg.samsung.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avidec: fix leaking extradataAndreas Cadhalpun2016-11-30
| | | | | Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* matroskadec: prevent access of elements after freeingMichael Schenk2016-11-30
| | | | | | | | | | Using the decode interrupt feature of ffmpeg may cause crashes by accessing previously freed pointers in matroska_read_close. To prevent this reset nb_elem to zero after freeing the elements, because ffmpeg normally tests for nb_elem. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* avcodec/flac_parser: Update nb_headers_bufferedMichael Niedermayer2016-11-30
| | | | | | | | | Fixes infinite loop Fixes: fuzz.flac Found-by: Frank Liberato <liberato@google.com> Reviewed-by: Frank Liberato <liberato@google.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* idroqdec: fix leaking pkt on failureAndreas Cadhalpun2016-11-30
| | | | | | | | The code calls av_new_packet a few lines above and the allocated memory has to be freed in case of an error. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>