Carl Eugen Hoyos
cc49341084
lavf/avformat: Add a warning that ff_const59 is not part of the public api.
2019-03-20 18:56:47 +01:00
Carl Eugen Hoyos
3aa6208db9
lavf: Constify AVInputFormat pointer.
2019-03-20 18:52:38 +01:00
Carl Eugen Hoyos
9461e4bc69
lavf: Constify AVOutputFormat pointer.
2019-03-20 18:38:48 +01:00
Carl Eugen Hoyos
4602456c4f
lavc/arbc: Use AV_WB24() where applicable.
2019-03-20 17:53:34 +01:00
Carl Eugen Hoyos
82fd7866a3
lavc/tiff: Allow decoding of cmyka (five components).
...
Fixes ticket #7675 .
2019-03-20 17:50:25 +01:00
Carl Eugen Hoyos
7be245498b
lavf/http: Print metadata updates with -loglevel verbose.
...
Simplifies metadata debugging.
2019-03-20 17:43:19 +01:00
Carl Eugen Hoyos
5247c4328b
lavf/spdifenc: Do not overwrite buffer when muxing TrueHD.
...
Fixes ticket #7733 .
Tested-by: Moritz Barsnick
2019-03-20 17:36:29 +01:00
Carl Eugen Hoyos
801d78f0d8
lavc/truehd_core: Initialize the last bytes of the output buffer.
...
Avoids undeterministic output.
2019-03-20 17:23:00 +01:00
Carl Eugen Hoyos
a171cafb35
lavf/sdp: Change pointer to configuration from char* to uint8_t*.
...
This is also what av_base64_encode() expects.
Fixes the following warnings with clang:
libavformat/sdp.c:394:40: warning: implicit conversion from 'int' to 'char' changes value from 254 to -2
libavformat/sdp.c:395:40: warning: implicit conversion from 'int' to 'char' changes value from 205 to -51
libavformat/sdp.c:396:40: warning: implicit conversion from 'int' to 'char' changes value from 186 to -70
2019-03-20 17:19:14 +01:00
Carl Eugen Hoyos
ba0a56e0b0
lavc/qtrle: Avoid an unaligned 64-bit write.
...
pixel_ptr can be increased by 4.
Fixes a crash on sparc64.
2019-03-20 17:16:02 +01:00
Carl Eugen Hoyos
6fcf7adc01
lavc/tiff: Support decoding 16bit cmyk.
2019-03-20 17:04:55 +01:00
Carl Eugen Hoyos
4b32f8b3eb
lavd: Remove libndi_newtek
2019-03-20 10:42:10 +00:00
Lauri Kasanen
6b5ea90eac
swscale/ppc: Add av_unused to template vars only used in one includer
2019-03-20 10:21:55 +02:00
Lauri Kasanen
ac3062f1a4
swscale/ppc: Clean up some mixed decl warnings
2019-03-20 10:21:53 +02:00
Jun Li
0739d5cd5c
avformat/smoothstreamingenc:add bitrate calculate
...
Calculate bitrate based on fragment size, only applied when
bitrate is not set, for example rtsp source.
Reviewed-by: Steven Liu <lq@chinaffmpeg.org>
Signed-off-by: Jun Li <junli1026@gmail.com>
2019-03-20 13:49:02 +08:00
Rodger Combs
ce6301a46f
avcodec/vt_hevc: fix crash if vps_list[0] or sps_list[0] are null
...
Instead of assuming id 0 is used, use the same logic as used for PPS,
where all available entries in the list are emitted.
Signed-off-by: Aman Gupta <aman@tmm1.net>
2019-03-19 14:56:21 -07:00
Gyan Doshi
41ef6dd67d
doc/ffmpeg: remove entry for -loop_output
...
Option doesn't exist .. hasn't for a few years now.
2019-03-20 02:17:19 +05:30
Derek Buitenhuis
90b85ab21f
h2645_parse: Fix loglevel for NAL header parsing
...
We don't treat this as an error.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2019-03-19 19:56:19 +00:00
James Almer
9e62e1a110
avcodec/libdav1d: use a reference to the allocated buffer instead of wrapping the Dav1dPicture
...
Removes an av_malloc() per frame.
Reviewed-by: BBB
Reviewed-by: nevcairiel
Signed-off-by: James Almer <jamrial@gmail.com>
2019-03-19 14:04:08 -03:00
James Almer
5cd60b6f2e
avcodec/libdav1d: reset pool size on allocation failure
...
Signed-off-by: James Almer <jamrial@gmail.com>
2019-03-19 14:03:39 -03:00
James Almer
f8075b2c91
tests/fate-run: fix regression in encoding options
...
Set threads back to 1. Fixes fate when run in multi threaded mode.
Regression since d0c43e3242
.
Signed-off-by: James Almer <jamrial@gmail.com>
2019-03-19 01:08:16 -03:00
Paweł Wegner
4ed6a485d3
libavformat/movenc: mov: added subtitle codec tags to codec tag list
...
This fixes avformat_query_codec incorrectly returning 0 for
mov container and mov_text subtitles.
Signed-off-by: Paweł Wegner <pawel.wegner95@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
2019-03-18 19:15:35 -03:00
Zhong Li
15d016be30
lavu/qsv: allow surface size larger than requirement
...
Just like commit 6829a07944
,
surface size larger than requirement should not be treated as error.
Signed-off-by: Zhong Li <zhong.li@intel.com>
2019-03-18 07:06:41 +08:00
Michael Niedermayer
14eea7c47a
avcodec/pnm: Optimize reading loop in pnm_get()
...
Fixes: Timeout 13149 (5sec -> 3sec), 13166 (11sec -> 7sec), 13430 (5sec -> 3sec)
Fixes: 13149/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_PGM_fuzzer-5760833622114304
Fixes: 13166/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_PGMYUV_fuzzer-5763216322330624
Fixes: 13430/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_PPM_fuzzer-5758658334425088
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-03-17 11:35:00 +01:00
Michael Niedermayer
f20760fadb
avcodec/dfa: Check the chunk header is not truncated
...
Fixes: Timeout (11sec -> 3sec)
Fixes: 13218/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_DFA_fuzzer-5661074316066816
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-03-17 11:35:00 +01:00
Michael Niedermayer
41f93f9411
avcodec/clearvideo: Check remaining data in P frames
...
Fixes: Timeout (19sec -> 419msec)
Fixes: 13411/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_CLEARVIDEO_fuzzer-5733153811988480
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-03-17 11:35:00 +01:00
Michael Niedermayer
dd2a2a51fe
avcodec/diracdec: Count truncated parts as errors in decode_component()
...
Fixes: Timeout (29sec -> 4sec)
Fixes: 13150/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_DIRAC_fuzzer-5690185671507968
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-03-17 11:35:00 +01:00
Michael Niedermayer
efe4aef90f
avcodec/ffv1dec_template: Optimize golomb run mode
...
Fixes: Timeout (34sec -> 12sec)
Fixes: 13398/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_FFV1_fuzzer-5664106709778432
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-03-17 11:35:00 +01:00
Gyan Doshi
d15117c996
doc/ffmpeg: add entry for itsscale
2019-03-16 17:44:20 +05:30
Mathieu Duponchelle
6cfa173303
mpeg12enc: Use Closed Captions if available
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-03-16 00:02:23 +01:00
Carl Eugen Hoyos
def18ac43b
tests/fate/ffmpeg: Check for apng codec for fate-copy-apng.
...
The file has to be created first, fixes fate without zlib.
2019-03-15 01:41:22 +01:00
Carl Eugen Hoyos
dbecf03f69
lavc/qtrle: Do not use aligned writes for 24bit frames.
...
pixel_ptr is 3 and leads to aligned access on odd memory addresses.
Fixes crashes on systems that do not allow unaligned access like sparc32.
2019-03-15 01:09:02 +01:00
James Almer
85649b6523
fate/lavf-image: fix passed arguments for some high bit depth tests
...
Should fix fate failures on big endian targets.
Signed-off-by: James Almer <jamrial@gmail.com>
2019-03-14 17:15:28 -03:00
James Almer
0dda0f3bdb
Merge commit 'f8abf7d4dfa0504f7f65e4f1fd9d22e01cb371cc'
...
* commit 'f8abf7d4dfa0504f7f65e4f1fd9d22e01cb371cc':
checkasm/h264: test 4:2:2 chroma loop filter functions
Merged-by: James Almer <jamrial@gmail.com>
2019-03-14 16:31:41 -03:00
James Almer
92219ef4ac
Merge commit '186bd30aa3b6c2b29b4dbf18278700b572068b1e'
...
* commit '186bd30aa3b6c2b29b4dbf18278700b572068b1e':
h264/arm64: implement missing 4:2:2 chroma loop filter neon functions
Merged-by: James Almer <jamrial@gmail.com>
2019-03-14 16:29:41 -03:00
James Almer
5c363d3e59
Merge commit '7e42d5f0ab2aeac811fd01e122627c9198b13f01'
...
* commit '7e42d5f0ab2aeac811fd01e122627c9198b13f01':
aarch64: vp8: Optimize vp8_idct_add_neon for aarch64
Merged-by: James Almer <jamrial@gmail.com>
2019-03-14 16:22:29 -03:00
James Almer
409e684e79
Merge commit '49f9c4272c4029b57ff300d908ba03c6332fc9c4'
...
* commit '49f9c4272c4029b57ff300d908ba03c6332fc9c4':
aarch64: vp8: Skip saturating in shrn in ff_vp8_idct_add_neon
Merged-by: James Almer <jamrial@gmail.com>
2019-03-14 16:21:46 -03:00
James Almer
fbd607dd56
Merge commit '37394ef01b040605f8e1c98e73aa12b1c0bcba07'
...
* commit '37394ef01b040605f8e1c98e73aa12b1c0bcba07':
aarch64: vp8: Optimize put_epel16_h6v6 with vp8_epel8_v6_y2
Merged-by: James Almer <jamrial@gmail.com>
2019-03-14 16:20:05 -03:00
James Almer
d6b62ce1ac
Merge commit 'cef914e08310166112ac09567e66452a7679bfc8'
...
* commit 'cef914e08310166112ac09567e66452a7679bfc8':
arm: vp8: Optimize put_epel16_h6v6 with vp8_epel8_v6_y2
Merged-by: James Almer <jamrial@gmail.com>
2019-03-14 16:19:41 -03:00
James Almer
34a0a9746b
Merge commit 'e39a9212ab37a55b346801c77487d8a47b6f9fe2'
...
* commit 'e39a9212ab37a55b346801c77487d8a47b6f9fe2':
aarch64: vp8: Port bilin functions from arm version
Merged-by: James Almer <jamrial@gmail.com>
2019-03-14 16:18:42 -03:00
James Almer
2ac399d7fa
Merge commit '58d154922707bfeb873cb3a7476e0f94b17463dd'
...
* commit '58d154922707bfeb873cb3a7476e0f94b17463dd':
aarch64: vp8: Port epel4 functions from arm version
Merged-by: James Almer <jamrial@gmail.com>
2019-03-14 16:17:33 -03:00
James Almer
c6892f59eb
Merge commit 'cc7ba00c35faf0478f1f56215e926f70ccb31282'
...
* commit 'cc7ba00c35faf0478f1f56215e926f70ccb31282':
aarch64: vp8: Port missing epel8 functions from arm version
Merged-by: James Almer <jamrial@gmail.com>
2019-03-14 16:16:43 -03:00
James Almer
79025da3f2
Merge commit '52c9b0a6c0d02cff6caebcf6989e565e05b55200'
...
* commit '52c9b0a6c0d02cff6caebcf6989e565e05b55200':
aarch64: vp8: Port vp8_luma_dc_wht and vp8_idct_dc_add4uv from arm version
Merged-by: James Almer <jamrial@gmail.com>
2019-03-14 16:14:40 -03:00
James Almer
39278ff0de
Merge commit 'c513fcd7d235aa4cef45a6c3125bd4dcc03bf276'
...
* commit 'c513fcd7d235aa4cef45a6c3125bd4dcc03bf276':
aarch64: vp8: Fix a typo in a comment
Merged-by: James Almer <jamrial@gmail.com>
2019-03-14 16:13:32 -03:00
James Almer
4f9a8d3fe2
Merge commit 'f1011ea28a4048ddec97794ca3e9901474fe055f'
...
* commit 'f1011ea28a4048ddec97794ca3e9901474fe055f':
aarch64: vp8: Reorder the function pointer inits to match the arm original
Merged-by: James Almer <jamrial@gmail.com>
2019-03-14 16:09:11 -03:00
James Almer
b8eb0827f0
Merge commit 'b4b27dce95a6d40bfcd78043d3abec7d80dae143'
...
* commit 'b4b27dce95a6d40bfcd78043d3abec7d80dae143':
aarch64: vp8: Move the vp8dsp makefile entries to the right places
aarch64: vp8: Remove superfluous includes
This commit is a noop, see
fecf75a5c4
c8bc9d1380
Merged-by: James Almer <jamrial@gmail.com>
2019-03-14 16:07:59 -03:00
James Almer
398000abcf
Merge commit '85bfaa4949f4afcde19061def3e8a18988964858'
...
* commit '85bfaa4949f4afcde19061def3e8a18988964858':
aarch64: vp8: Use the proper aarch64 form for conditional branches
Merged-by: James Almer <jamrial@gmail.com>
2019-03-14 16:06:43 -03:00
James Almer
94346ab593
Merge commit '2eeac79936e83c4495cbe5905064ab797e9b45ff'
...
* commit '2eeac79936e83c4495cbe5905064ab797e9b45ff':
aarch64: vp8: Fix assembling with armasm64
aarch64: vp8: Fix assembling with clang
This commit is a noop, see
c950beb68d
7ddfa5e908
Merged-by: James Almer <jamrial@gmail.com>
2019-03-14 16:06:19 -03:00
James Almer
a2ae381b5a
Merge commit '0801853e640624537db386727b36fa97aa6258e7'
...
* commit '0801853e640624537db386727b36fa97aa6258e7':
libavcodec: vp8 neon optimizations for aarch64
See 833fed5253
Merged-by: James Almer <jamrial@gmail.com>
2019-03-14 16:05:52 -03:00
James Almer
ecb5546e97
Merge commit '899ee03088d55152a48830df0899887f055da1de'
...
* commit '899ee03088d55152a48830df0899887f055da1de':
Unbreak travis on macos
Merged-by: James Almer <jamrial@gmail.com>
2019-03-14 15:53:16 -03:00