Michael Niedermayer
4da2ac5c7a
avcodec/h264: Fix regression caused by removial of default_ref_list
...
This fixes a regression of the sample from Ticket 2371
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-01-04 02:30:48 +01:00
Andreas Cadhalpun
b4b13848de
vorbisdec: reject channel mapping with less than two channels
...
It causes the angle channel number to equal the magnitude channel
number, which makes the stream undecodable according to the
specification.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2016-01-03 23:44:47 +01:00
Paul B Mahol
0a451082c7
avfilter/avf_showspectrum: finally fix log scaler
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-01-03 23:09:43 +01:00
Paul B Mahol
14caf9667e
avfilter/avf_showspectrum: switch to FFT
...
Rationale: supports >16 bit audio, more than 96dB SNR.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-01-03 23:09:43 +01:00
Carl Eugen Hoyos
ae9f2e6f28
lavfi/drawtext: Fix microsecond display.
...
Fixes ticket #4792 .
2016-01-03 22:55:31 +01:00
Andreas Cadhalpun
40eb2531b2
ffmdec: reset packet_end in case of failure
...
This fixes segmentation faults caused by passing a packet_ptr of NULL to
memcpy.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2016-01-03 21:13:01 +01:00
Andreas Cadhalpun
43ff4aed26
lavc: use get_bitsz to simplify the code
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2016-01-03 21:12:53 +01:00
Andreas Cadhalpun
713654d9d3
get_bits: add get_bitsz for reading 0-25 bits
...
This can be used to simplify code in a couple of places.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2016-01-03 21:12:43 +01:00
Michael Niedermayer
97c162add7
avformat/ffmdec: Add {} to nested if/else
...
This preempts potential bugs if this is changed and the indention
ends up different from C interpretation
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-01-03 16:08:32 +01:00
Nicolas George
962727acb4
lavfi/vf_decimate: do not compare the first frame to itself.
...
This is a waste of computing power and will result to 0,
making it always dropped.
Use maximum difference values instead.
2016-01-03 15:50:51 +01:00
James Almer
35b0c7efda
x86/vf_stereo3d: remove a few unnecessary movas
...
Signed-off-by: James Almer <jamrial@gmail.com>
2016-01-03 02:09:02 -03:00
James Almer
78129978f0
configure: bump copyright year to 2016
...
Signed-off-by: James Almer <jamrial@gmail.com>
2016-01-02 16:28:31 -03:00
Andreas Cadhalpun
2e752c7de9
ffmdec: change type of state and id to unsigned
...
This fixes ubsan runtime error: left shift by 8 places cannot be
represented in type 'int'
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2016-01-02 20:03:57 +01:00
Michael Niedermayer
cccb0ffccc
avcodec/put_bits: Always check buffer end before writing
...
This causes a overall slowdown of 0.1 % (tested with mpeg4 single thread encoding of matrixbench at QP=3)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-01-02 19:23:10 +01:00
Michael Niedermayer
a30238621d
doc/encoders: Fix application name
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-01-02 19:23:00 +01:00
Hendrik Leppkes
957667d198
avutil/cpu: add missing entry for vfp_vm to av_parse_cpu_caps
2016-01-02 19:07:08 +01:00
Hendrik Leppkes
b95cba7b3c
avcodec/dca: remove unused float quant table
2016-01-02 19:06:40 +01:00
Hendrik Leppkes
51da00e24c
dca: adjust decoding of the XBR extension for integer core decoding
2016-01-02 19:01:42 +01:00
Paul B Mahol
af018d802d
avfilter/avf_showspectrum: add 4th and 5th root scaler
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-01-02 18:53:09 +01:00
Paul B Mahol
2b172cb625
avfilter/avf_showspectrum: make some helper functions
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-01-02 18:53:09 +01:00
Paul B Mahol
d35c029cbf
avfilter/avf_showspectrum: fix null pointer dereference if allocation fails
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-01-02 18:53:09 +01:00
Paul B Mahol
9b06e7befa
avfilter/avf_showspectrum: add fiery color map
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-01-02 18:53:09 +01:00
Paul B Mahol
72280d1c6c
avfilter: add showspectrumpic filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-01-02 18:53:09 +01:00
Paul B Mahol
7f7a9dd782
avfilter/avf_showspectrum: store win_size in private context and calculate it only once
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-01-02 18:53:09 +01:00
Paul B Mahol
8bcd1997ea
avfilter/vf_zoompan: do not free frame we pushed to lavfi
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-01-02 18:51:11 +01:00
Hendrik Leppkes
7fe77aa62e
Merge commit '40d949677335a564f769823f4afdb7e7a3da8d6b'
...
* commit '40d949677335a564f769823f4afdb7e7a3da8d6b':
dca: use defines for subband related constants
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2016-01-02 17:52:34 +01:00
Hendrik Leppkes
2214207d04
Merge commit '8563f9887194b07c972c3475d6b51592d77f73f7'
...
* commit '8563f9887194b07c972c3475d6b51592d77f73f7':
x86: use emms after ff_int32_to_float_fmul_scalar_sse
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2016-01-02 13:27:11 +01:00
Hendrik Leppkes
0eefc758e2
Merge commit 'f0f54117c8f206e8045d301c2eb975b26e9f263d'
...
* commit 'f0f54117c8f206e8045d301c2eb975b26e9f263d':
checkasm: x86: post commit review fixes
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2016-01-02 13:26:28 +01:00
Hendrik Leppkes
a9cd11b212
Merge commit 'f4f27e4cf1013c55b2c7df359ce8d58ee922662c'
...
* commit 'f4f27e4cf1013c55b2c7df359ce8d58ee922662c':
x86: zero extend the 32-bit length in int32_to_float_fmul_scalar implicitly
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2016-01-02 13:23:25 +01:00
Hendrik Leppkes
95a2b883e3
Merge commit '69a68593ce5684409c3c4dd9a901bfd8b16925b1'
...
* commit '69a68593ce5684409c3c4dd9a901bfd8b16925b1':
Remove stray line breaks from avpriv_{report_missing_feature|request_samples}
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2016-01-02 13:20:13 +01:00
Hendrik Leppkes
8a04ddeb47
Merge commit '5049f6b772891cdf4030a9d572362efc8f7ae97f'
...
* commit '5049f6b772891cdf4030a9d572362efc8f7ae97f':
rtpdec_jpeg: Coalesce redundant error checks
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2016-01-02 13:19:23 +01:00
Hendrik Leppkes
d03da3e240
Merge commit '2008f76054906e9ff6bf744800af0e5a5bfe61be'
...
* commit '2008f76054906e9ff6bf744800af0e5a5bfe61be':
dca: remove unused decode_hf function and quant_d tables
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2016-01-02 13:17:48 +01:00
Hendrik Leppkes
af1238f863
Merge commit 'aebf07075f4244caf591a3af71e5872fe314e87b'
...
* commit 'aebf07075f4244caf591a3af71e5872fe314e87b':
dca: change the core to work with integer coefficients.
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2016-01-02 13:08:29 +01:00
Hendrik Leppkes
a51c2fcdc1
Merge commit '85990140e7302d1e7fcc9fc0eea316178c19fe03'
...
* commit '85990140e7302d1e7fcc9fc0eea316178c19fe03':
dca: Add math helpers.
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2016-01-02 12:53:14 +01:00
Hendrik Leppkes
f299d8d9f2
Merge commit '489e6add4478b0f5717dbf644234c6f3a3baf02c'
...
* commit '489e6add4478b0f5717dbf644234c6f3a3baf02c':
checkasm: add fmtconvert tests
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2016-01-02 12:50:13 +01:00
Hendrik Leppkes
eb50a3d440
Merge commit '568a4323fbde03665b2b23a98068d02b39121812'
...
* commit '568a4323fbde03665b2b23a98068d02b39121812':
checkasm: add synth_filter test
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2016-01-02 12:45:34 +01:00
Hendrik Leppkes
d882c0b9f9
Merge commit 'e71b747e9dc56cb84f8a06ec8214d5f3bd98bb6d'
...
* commit 'e71b747e9dc56cb84f8a06ec8214d5f3bd98bb6d':
checkasm: add tests for dcadsp
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2016-01-02 12:38:46 +01:00
Hendrik Leppkes
0c7ade547a
Merge commit '9d218d573f8088c606d873e80df572582e6773ef'
...
* commit '9d218d573f8088c606d873e80df572582e6773ef':
checkasm: add float comparison util functions
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2016-01-02 12:35:52 +01:00
Andreas Cadhalpun
753930bc73
doc: make apidoc output independent of SRC_PATH
...
Previously it included the SRC_PATH in every title.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2016-01-02 12:11:36 +01:00
Andreas Cadhalpun
c112be25f7
oggparsedaala: reject too large gpshift
...
Also use a unsigned constant for the shift calculation, as 1 << 31 is
undefined for int32_t. This is also fixed oggparsetheora.
This fixes ubsan runtime error: shift exponent is too large for
32-bit type 'int'
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2016-01-02 12:00:39 +01:00
Hendrik Leppkes
69ead86027
Merge commit '711781d7a1714ea4eb0217eb1ba04811978c43d1'
...
* commit '711781d7a1714ea4eb0217eb1ba04811978c43d1':
x86: checkasm: check for or handle missing cleanup after MMX instructions
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2016-01-02 11:55:44 +01:00
Hendrik Leppkes
f00e12e630
Merge commit 'cc29d96d5a379dbcf2649947d884c202c2a52767'
...
* commit 'cc29d96d5a379dbcf2649947d884c202c2a52767':
arm64: fix inverted register order in transpose_4x4H
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2016-01-02 11:22:33 +01:00
Hendrik Leppkes
e40b33a9d7
Merge commit '5ea59b1f424f0efc7805d837e6fdb80561fb0f3a'
...
* commit '5ea59b1f424f0efc7805d837e6fdb80561fb0f3a':
exr: fix out of bounds read in get_code
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2016-01-02 11:22:17 +01:00
Hendrik Leppkes
92ebe35d57
Merge commit '17776638c392d104975aba169e17b186490e1d5e'
...
* commit '17776638c392d104975aba169e17b186490e1d5e':
opus: Fix typo causing overflow in silk_stabilize_lsf
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2016-01-02 11:22:05 +01:00
Hendrik Leppkes
e23c3a13e3
Merge commit '90b1b9350c0a97c4065ae9054b83e57f48a0de1f'
...
* commit '90b1b9350c0a97c4065ae9054b83e57f48a0de1f':
arm: add ff_int32_to_float_fmul_array8_neon
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2016-01-02 11:21:36 +01:00
Hendrik Leppkes
e97e2588ca
Merge commit 'a0fc780a2093784e8664f88205ee1b215e109cee'
...
* commit 'a0fc780a2093784e8664f88205ee1b215e109cee':
arm64: int32_to_float_fmul neon asm
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2016-01-02 11:21:16 +01:00
Hendrik Leppkes
10e075c138
Merge commit '705f5e5e155f6f280a360af220fc5b30cfcee702'
...
* commit '705f5e5e155f6f280a360af220fc5b30cfcee702':
arm64: port synth_filter_float_neon from arm
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2016-01-02 11:14:28 +01:00
Hendrik Leppkes
de3a33784c
Merge commit 'c33c1fa8af2b2e82418a06901b6ad17b3d61b73e'
...
* commit 'c33c1fa8af2b2e82418a06901b6ad17b3d61b73e':
arm64: convert dcadsp neon asm from arm
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2016-01-02 11:10:24 +01:00
Hendrik Leppkes
e754c8e8ca
Merge commit 'e2710e790c09e49e86baa58c6063af0097cc8cb0'
...
* commit 'e2710e790c09e49e86baa58c6063af0097cc8cb0':
arm: add a cpu flag for the VFPv2 vector mode
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2016-01-02 11:01:29 +01:00
Hendrik Leppkes
00e91d0676
Merge commit '5dfe4edad63971d669ae456b0bc40ef9364cca80'
...
* commit '5dfe4edad63971d669ae456b0bc40ef9364cca80':
x86_64: int32_to_float_fmul_scalar sign extend integer length
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2016-01-02 10:46:18 +01:00