Michael Niedermayer
89092fafdd
tests/ffserver.regression.ref: Update ffserver checksums
...
They have changed due to 122190392b
Reviewed-by: "Reynaldo H. Verdejo Pinochet" <reynaldo@osg.samsung.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-12-01 23:43:31 +01:00
Gregory J. Wolfe
9c041a3cd5
avformat/tests/fifo_muxer: includes libavformat/network.h to define ETIMEDOUT for fate build.
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-12-01 23:42:50 +01:00
Paul B Mahol
6e713841e8
avfilter: add premultiply filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-12-01 22:12:21 +01:00
Paul B Mahol
6427c9ffee
swscale: add gbr(a)p16 output support
2016-12-01 21:37:25 +01:00
Michael Niedermayer
fbdf8f176e
ffserver: set format bitexact flag, eliminate warnings about it not being set
...
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>
2016-12-01 20:07:14 +01:00
Александр Слободенюк
3aa1ff30f3
doc/examples/transcode_aac: fix a typo
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-12-01 12:53:45 +01:00
Tobias Rapp
4d57ca51d7
ffmpeg: assert return value is initialized
...
Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-12-01 12:01:51 +01:00
Carl Eugen Hoyos
d44af9a38e
lavfi: Fix aix compilation.
...
Rename hz in af_apulsator.c and avf_showspectrum.c as hertz.
The aix header sys/m_param.h defines hz as __hz.
2016-12-01 09:53:38 +01:00
Philip Langdale
4e6d1c1f4e
avcodec/vdpau_hevc: Fix potential out-of-bounds write
...
The maximum number of references is 16, so the index value cannot
exceed 15.
Fixes Coverity CID 1348139, 1348140, 1348141
2016-11-30 16:14:39 -08:00
Philip Langdale
5512dbe37f
avcodec/crystalhd: Handle errors from av_image_get_linesize
...
This function can return an error in certain situations.
Fixes Coverity CID 703707.
2016-11-30 16:14:39 -08:00
Reynaldo H. Verdejo Pinochet
b5c899ab5e
ffserver: fix broken HTML on generated status page
...
Dropped incompatible/obsoleted HTML tag attributes
Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
2016-11-30 15:47:49 -08:00
Philip Langdale
fdb124001e
tools/coverity: Add model for av_realloc
...
Really should have done this last time. It should provide consistency
across our allocations and frees.
2016-11-30 15:21:57 -08:00
James Darnley
13d71c28cc
avcodec/h264: sse2 and avx 4:2:2 idct add8 10-bit functions
...
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)
2016-11-30 22:58:28 +01:00
James Darnley
1dae7ffa0b
avcodec/h264: mmx 4:2:2 idct add8 function
...
2.87 times faster (1830 vs. 638 cycles)
2016-11-30 22:58:27 +01:00
James Darnley
815ea8c6cc
avcodec/h264: mmxext 4:2:2 chroma intra deblock/loop filter
...
2.1 times faster (401 vs. 194 cycles)
2016-11-30 22:58:27 +01:00
Andreas Cadhalpun
122190392b
ffserver: use codec time_base for stream
...
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>
2016-11-30 22:38:10 +01:00
Andreas Cadhalpun
7f034a02cd
tests: drop -d option from ffserver invocation
...
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>
2016-11-30 22:38:10 +01:00
Andreas Cadhalpun
0bd227e31c
tests: print errors from ffserver
...
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>
2016-11-30 22:38:10 +01:00
Philip Langdale
5eb6852063
tools/coverity: Add models for av_mallocz and av_free
...
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.
2016-11-30 13:27:43 -08:00
Vittorio Giovara
115b834dcf
fate: Add test for mov displaymatrix
2016-11-30 12:19:30 -05:00
Vittorio Giovara
33f7f636ff
ffprobe: Fix displaying side data list only
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2016-11-30 12:19:14 -05:00
Vittorio Giovara
7010ebdf1f
mov: Evaluate the movie display matrix
...
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>
2016-11-30 12:18:58 -05:00
Timo Rothenpieler
c2f3af57a5
avcodec/nvenc: mark intentional fall through
2016-11-30 12:36:23 +01:00
Timo Rothenpieler
7dafb3a25a
avfilter/vf_hwupload_cuda: fix potential leak
2016-11-30 12:36:23 +01:00
Timo Rothenpieler
52773a2c68
avutil/hwcontext_cuda: check for missing pixel format
2016-11-30 12:36:23 +01:00
Timo Rothenpieler
88281a5256
avfilter/vf_scale_npp: check ff_set_common_formats return value
2016-11-30 12:36:23 +01:00
Miroslav Slugeň
1d056dd855
avfilter/vf_scale_npp: move aspect ratio correction after av_frame_copy_props
...
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
2016-11-30 12:36:23 +01:00
Miroslav Slugeň
f2dd6aee80
avcodec/nvenc: always reduce DAR width and height
...
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
2016-11-30 12:36:23 +01:00
Philip Langdale
27038693bb
avcodec/nvenc: Delay identification of underlying format of cuda frames
...
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>
2016-11-30 12:36:23 +01:00
Michael Niedermayer
8cbdaa4b01
ffserver: Add client requested urls to the status page
...
Fixes Ticket3791
Reviewed-by: "Reynaldo H. Verdejo Pinochet" <reynaldo@osg.samsung.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-11-30 11:25:17 +01:00
Andreas Cadhalpun
2c908f22c2
avidec: fix leaking extradata
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2016-11-30 02:22:50 +01:00
Michael Schenk
18b9466937
matroskadec: prevent access of elements after freeing
...
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>
2016-11-30 01:15:38 +01:00
Michael Niedermayer
2475858889
avcodec/flac_parser: Update nb_headers_buffered
...
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>
2016-11-30 00:58:56 +01:00
Andreas Cadhalpun
c0175fa92b
idroqdec: fix leaking pkt on failure
...
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>
2016-11-30 00:22:45 +01:00
Paul B Mahol
94d3d98246
fate: update after addition of gray10 to lavc/raw
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-11-30 00:08:05 +01:00
Michael Niedermayer
bced37c155
tests/ffserver-regression: Check the status page too
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-11-29 19:26:26 +01:00
Michael Niedermayer
606702ea34
ffsrever: Make the status page bitexact if any stream is bitexact
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-11-29 19:26:26 +01:00
Michael Niedermayer
472fee91bc
ffserver_config: Setup codecpar in add_codec()
...
fixes segfault in the status page code
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-11-29 19:26:26 +01:00
Michael Niedermayer
dbe1878060
tests/ffserver.regression.ref: update ffserver checksums
...
Reviewed-by: "Reynaldo H. Verdejo Pinochet" <reynaldo@osg.samsung.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-11-29 19:26:26 +01:00
Michael Niedermayer
6216127d0c
tests/ffserver-regression.sh: give wget a timeout and prevent retries
...
Reviewed-by: "Reynaldo H. Verdejo Pinochet" <reynaldo@osg.samsung.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-11-29 19:26:26 +01:00
Michael Niedermayer
744a0b5206
avformat/idroqdec: Check chunk_size for being too large
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-11-29 19:26:26 +01:00
Paul B Mahol
9e9c2276c3
avfilter/vf_masked*: add gray10 and gray12 support
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-11-29 16:50:38 +01:00
Paul B Mahol
c9dcd25288
avfilter/vf_bitplanenoise: add gray10 and gray12 suppport
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-11-29 16:32:33 +01:00
Paul B Mahol
46752d6b12
avfilter/vf_extractplanes: add extract support for 10bit and 12bit formats
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-11-29 14:50:28 +01:00
Paul B Mahol
57ef0f0f17
avfilter/vf_waveform: add gray10 and gray12 support
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-11-29 11:34:48 +01:00
Paul B Mahol
d56c7830c0
avcodec/raw: add gray10 support in nut
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-11-29 11:23:20 +01:00
Daniel Verkamp
e856ac2373
avcodec/msrledec: implement vertical offset in 4-bit RLE
...
The delta escape (2) is supposed to work the same in 4-bit RLE as in
8-bit RLE. This is documented in the MSDN Bitmap Compression page:
https://msdn.microsoft.com/en-us/library/windows/desktop/dd183383(v=vs.85).aspx
The unchecked modification of line is safe, since the loop condition
(line >= 0) will check it before any pixel data is written.
Fixes ticket #5153 (output now matches ImageMagick for the provided sample).
Signed-off-by: Daniel Verkamp <daniel@drv.nu>
2016-11-29 10:57:49 +01:00
Michael Niedermayer
1e7f9b0ec6
tests: Fix running ffserver under qemu
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-11-28 23:50:01 +01:00
Michael Niedermayer
c3f781c52a
tests/Makefile: Fix ffservertest dependencies
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-11-28 23:50:01 +01:00
Michael Niedermayer
0dbee67700
ffserver: Remove last use of AVStream size
...
Reviewed-by: "Reynaldo H. Verdejo Pinochet" <reynaldo@osg.samsung.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-11-28 22:45:38 +01:00