James Almer
6ae84e7b03
avcodec/libx265: zero the padding bytes in extradata
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: James Almer <jamrial@gmail.com >
2020-01-18 12:45:59 -03:00
James Almer
ab9627223e
Revert "avformat/utils: make ff_ntp_time() accept a timestamp as input argument"
...
Signed-off-by: James Almer <jamrial@gmail.com >
2020-01-16 22:27:35 -03:00
James Almer
e7c04eaf50
avformat/dashenc: document the new options
...
Signed-off-by: James Almer <jamrial@gmail.com >
2020-01-15 23:34:37 -03:00
James Almer
05b3460991
avformat/dashenc: add an option to write a Latency element
...
Allows to set an intended target latency while streaming that clients can use
to measure when using low latency mode.
Signed-off-by: James Almer <jamrial@gmail.com >
2020-01-15 23:34:22 -03:00
James Almer
c96a9636c8
avformat/dashenc: allow setting custom movflags using format_options
...
Signed-off-by: James Almer <jamrial@gmail.com >
2020-01-15 23:34:21 -03:00
James Almer
cc929cee76
avformat/movenc: add a flag to enable CMAF compatability
...
Sets some required constrains and reports compatability with the relevant
compatible brand.
Signed-off-by: James Almer <jamrial@gmail.com >
2020-01-15 23:34:21 -03:00
James Almer
f63407a986
avformat/dashenc: implement DVB-DASH profile
...
Add new required elements and constrain presence and values for existing
ones based on the spec.
Signed-off-by: James Almer <jamrial@gmail.com >
2020-01-15 23:34:21 -03:00
James Almer
21847e2a52
avformat/dashenc: add an option to enable low latency Dash manifest
...
In combination with the streaming option it constrains the value of a few elements,
to prevet clients from buffering too much data before starting presentation.
Signed-off-by: James Almer <jamrial@gmail.com >
2020-01-15 23:34:20 -03:00
James Almer
7e5d143bb5
avformat/dashenc: Write a Producer Reference Time element
...
Signed-off-by: James Almer <jamrial@gmail.com >
2020-01-15 23:34:20 -03:00
James Almer
7abc0979e6
avformat/movenc: use AVProducerReferenceTime side data to write the prft atom
...
If not available, set flags to 24 (bits 4 and 5), to signal the wallclock value
is read at the time of writing the atom.
Signed-off-by: James Almer <jamrial@gmail.com >
2020-01-15 23:34:20 -03:00
James Almer
4e4ac20340
avformat/utils: make ff_ntp_time() accept a timestamp as input argument
...
Will be needed by the next patch.
Signed-off-by: James Almer <jamrial@gmail.com >
2020-01-15 23:34:20 -03:00
James Almer
56c8856966
avcodec/libx264: export Producer Reference Time as packet side data
...
Taken from Wallclock at the time the frame is submitted to the encoder.
Signed-off-by: James Almer <jamrial@gmail.com >
2020-01-15 23:34:20 -03:00
James Almer
717b2074ec
avcodec: add a Producer Reference Time AVPacketSideData type
...
Signed-off-by: James Almer <jamrial@gmail.com >
2020-01-15 23:33:41 -03:00
James Almer
ea5a910628
avformat/dashenc: allow splitting fragments following P-Frame reordering
...
Signed-off-by: James Almer <jamrial@gmail.com >
2020-01-15 12:22:29 -03:00
James Almer
ceb236c1c5
avformat/dashenc: allow setting fragment durations
...
Implemented as as a frag_duration muxer option and key=value entry in the
adaptation_sets muxer option. It has the same syntax as the seg_duration option.
A new frag_type option is also introduced to select the kind of fragmentation.
Signed-off-by: James Almer <jamrial@gmail.com >
2020-01-15 12:22:28 -03:00
James Almer
0c19dd2df4
avformat/dashenc: allow setting segment durations per AdaptationSet
...
Implemented as as a seg_duration key=value entry in the adaptation_sets muxer
option.
It has the same syntax as the global seg_duration option, and has precedence
over it if set.
Signed-off-by: James Almer <jamrial@gmail.com >
2020-01-15 12:22:28 -03:00
James Almer
3670a10c2d
avcodec/libx265: export encoded frame stats
...
Signed-off-by: James Almer <jamrial@gmail.com >
(cherry picked from commit 66b6005301894823052b437a950003ffbe3ba6de)
2020-01-01 13:50:39 -03:00
James Almer
278a91f8fe
avcodec/libx265: add a qp option and apply the relevant global AVCodecContext settings to the encoder context
...
Signed-off-by: James Almer <jamrial@gmail.com >
2020-01-01 13:48:02 -03:00
James Almer
3c22436ddf
avcodec/libx265: apply some global AVCodecContext settings to the encoder context
...
There's no reason to ignore them if set.
Signed-off-by: James Almer <jamrial@gmail.com >
2020-01-01 13:25:18 -03:00
James Almer
eb17a7906b
avfilter/vf_vectorscope: use av_clip_uint8()
...
Fixes fate-source
Signed-off-by: James Almer <jamrial@gmail.com >
2019-12-28 22:38:58 -03:00
James Almer
c75f246a3c
avcodec/noise_bsf: remove superfluous fail label
...
Signed-off-by: James Almer <jamrial@gmail.com >
2019-12-23 11:49:44 -03:00
James Almer
231ffd7e63
avcodec/hevcdec: keep closed captions in sync between multiple thread contexts
...
Based on h264 code.
Reviewed-by: Limin Wang <lance.lmwang@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2019-12-21 16:10:21 -03:00
James Almer
191df4f2d1
avformat/movenc: use iso6 major brand when signed CTS offsets are used in trun boxes
...
Signed-off-by: James Almer <jamrial@gmail.com >
2019-12-21 11:57:28 -03:00
James Almer
245ace4e2d
avformat/movenc: ensure we don't write the major brand as a compatible brand more than once
...
Signed-off-by: James Almer <jamrial@gmail.com >
2019-12-21 11:57:28 -03:00
James Almer
58ac760816
avformat/movenc: write the major brand also as the first compatible brand
...
Signed-off-by: James Almer <jamrial@gmail.com >
2019-12-21 11:57:28 -03:00
James Almer
abf5e7bc21
avformat/tls_openssl: don't use libcrypto locking functions with newer OpenSSL versions
...
They have been removed altogether without a compat implementation, and are
either no-ops or return NULL.
This fixes compiler warnings about checks always evaluating to false, and leaks
of allocated mutexes.
Signed-off-by: James Almer <jamrial@gmail.com >
2019-12-19 19:30:37 -03:00
James Almer
8887991a31
avcodec/cbs_av1: add missing valid range of values for num_cb_points and num_cr_points
...
It is a requirement of bitstream conformance that num_cr_points is less than or equal to 10.
It is a requirement of bitstream conformance that num_cb_points is less than or equal to 10.
Signed-off-by: James Almer <jamrial@gmail.com >
2019-12-19 01:04:10 -03:00
James Almer
54d09eb8d0
fate/cbs: use the rawvideo muxer for AV1 tests
...
The IVF muxer autoinserts the av1_metadata filter unconditionally, which is
not desirable for these tests.
Signed-off-by: James Almer <jamrial@gmail.com >
2019-12-13 10:58:10 -03:00
James Almer
6467a15997
Changelog: add entry about MPEG-H 3D Audio support in mp4
...
Signed-off-by: James Almer <jamrial@gmail.com >
2019-12-12 12:03:31 -03:00
James Almer
aedffc0b22
avcodec/mlp_parser: mark sync frames as key frames
...
Signed-off-by: James Almer <jamrial@gmail.com >
2019-12-12 11:38:34 -03:00
James Almer
13f2b6dc72
fate/cbs: update the two film grain cbs_av1 tests
...
They were missed in the previous commit.
Signed-off-by: James Almer <jamrial@gmail.com >
2019-12-11 21:59:24 -03:00
James Almer
a23dd33606
avcodec/cbs_av1: fix array size for ar_coeffs_cb_plus_128 and ar_coeffs_cr_plus_128
...
Taking into account the code
fb(2, ar_coeff_lag);
num_pos_luma = 2 * current->ar_coeff_lag * (current->ar_coeff_lag + 1);
if (current->num_y_points)
num_pos_chroma = num_pos_luma + 1;
else
num_pos_chroma = num_pos_luma;
Max value for ar_coeff_lag is 3 (two bits), for num_pos_luma 24, and for
num_pos_chroma 25.
Both ar_coeffs_cb_plus_128 and ar_coeffs_cr_plus_128 may have up to
num_pos_chroma values.
Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2019-12-11 19:29:43 -03:00
James Almer
ade7f4c60c
fate/matroska: fix dependencies for fate-matroska-prores-zlib test
...
Signed-off-by: James Almer <jamrial@gmail.com >
2019-12-07 13:30:18 -03:00
James Almer
70efa31ba1
fate/matroska: add a demux test for ProRes using zlib compression
...
Signed-off-by: James Almer <jamrial@gmail.com >
2019-12-07 12:36:21 -03:00
James Almer
964eb754b4
tools: add a fuzzer tool for bitstream filters
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: James Almer <jamrial@gmail.com >
2019-12-05 20:49:15 -03:00
James Almer
94fd85d81d
fate/matroska: add a test for xiph lacing
...
Signed-off-by: James Almer <jamrial@gmail.com >
2019-12-04 22:52:01 -03:00
James Almer
968c4cbf22
fate/cbs: add svc AV1 tests
...
Signed-off-by: James Almer <jamrial@gmail.com >
2019-12-02 14:45:02 -03:00
James Almer
5985ca0436
avcodec/av1_parser: skip frames with spatial_id > 0
...
This fixes marking keyframes in svc samples.
Signed-off-by: James Almer <jamrial@gmail.com >
2019-12-02 14:38:52 -03:00
James Almer
637742b45d
fate/cbs: add a decode model AV1 test
...
Signed-off-by: James Almer <jamrial@gmail.com >
2019-12-01 16:53:11 -03:00
James Almer
af7ab32b89
fate/cbs: add a switch frame AV1 test
...
Signed-off-by: James Almer <jamrial@gmail.com >
2019-12-01 16:53:11 -03:00
James Almer
553c1431ac
Revert "avcodec/cbs_av1_syntax_template: Check ref_frame_idx before use"
...
This reverts commit 8174e5c77d .
It's no longer needed after the previous commit.
Signed-off-by: James Almer <jamrial@gmail.com >
2019-12-01 16:53:11 -03:00
James Almer
eced91afa5
avcodec/cbs_av1: implement missing set_frame_refs() function
...
Defined in Section 7.8
This finishes implementing support for frames using
frame_refs_short_signaling.
Signed-off-by: James Almer <jamrial@gmail.com >
2019-12-01 16:53:11 -03:00
James Almer
e5db2e96c0
avformat/avc: add missing return error value
...
Signed-off-by: James Almer <jamrial@gmail.com >
2019-11-30 11:34:58 -03:00
James Almer
18507b4882
avformat/avc: fix sps buffer offset when calling ff_avc_decode_sps()
...
Skip the avcC specific size bytes and the NAL header bits.
Signed-off-by: James Almer <jamrial@gmail.com >
2019-11-29 23:17:43 -03:00
James Almer
0d67af34c2
fate/demux: add an AV1 Annex B test
...
Signed-off-by: James Almer <jamrial@gmail.com >
2019-11-29 18:58:42 -03:00
James Almer
378065f08f
avcodec/av1_parser: export stream dimensions in avctx
...
This is required to demux annexb samples when a decoder isn't available.
Signed-off-by: James Almer <jamrial@gmail.com >
2019-11-29 18:58:34 -03:00
James Almer
13ed243594
fate/lavf-container: add an H264 mp4 remux test
...
This uses a raw h264 bitstream as source, in order to test the avcC
generation code.
Signed-off-by: James Almer <jamrial@gmail.com >
2019-11-29 18:24:01 -03:00
James Almer
de557eb191
fate/lavf-container: add an AV1 mp4 remux test
...
Signed-off-by: James Almer <jamrial@gmail.com >
2019-11-29 18:23:49 -03:00
James Almer
16fa513392
avformat/avc: write the missing bits in the AVC Decoder Configuration Box
...
Signed-off-by: James Almer <jamrial@gmail.com >
2019-11-28 15:20:37 -03:00
James Almer
fdf46b4a6b
avcodec/amfnec: allocate packets using av_new_packet()
...
This ensures they will be reference counted, as required by the AVCodec.receive_packet()
API.
Should fix ticket #8386 .
Signed-off-by: James Almer <jamrial@gmail.com >
2019-11-19 19:42:48 -03:00
James Almer
f18a5efb52
fate/cbs: add initial AV1 tests
...
Signed-off-by: James Almer <jamrial@gmail.com >
2019-11-19 14:49:03 -03:00
James Almer
4e2bef6a82
avcodec/cbs_av1: keep separate reference frame state for reading and writing
...
In scearios where a Temporal Unit is written right after reading it using the same
CBS context (av1_metadata, av1_frame_merge, etc), the reference frame state used
by the writer must not be the state that's the result of the reader having already
parsed the current frame in question.
This fixes writing Switch frames, and frames using short ref signaling.
Signed-off-by: James Almer <jamrial@gmail.com >
2019-11-18 21:30:05 -03:00
James Almer
81d54531f7
avformat/av1dec: simplify annexb_probe()
...
Signed-off-by: James Almer <jamrial@gmail.com >
2019-11-16 15:56:36 -03:00
James Almer
2703068110
avcodec/cbs_av1: fix reading reference order hint in skip_mode_params()
...
Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2019-11-16 15:56:36 -03:00
James Almer
73ee53f317
avcodec/encode: add missing assert to avcodec_receive_packet()
...
Encoders must return reference counted packets.
This was checked only for encoders using the AVCodec->encode2() API, while
blindly accepting whatever encoders using the AVCodec->receive_packet() API
were returning.
Signed-off-by: James Almer <jamrial@gmail.com >
2019-11-14 12:30:51 -03:00
James Almer
cc61466058
avformat: add an AV1 Annex B demuxer
...
Signed-off-by: James Almer <jamrial@gmail.com >
2019-11-12 22:21:51 -03:00
James Almer
97d9cff251
avcodec/libdav1d: export bitstream timing info when available
...
Signed-off-by: James Almer <jamrial@gmail.com >
2019-11-12 22:21:45 -03:00
James Almer
0b8742521f
avcodec/av1_parser: export bitstream timing info when available
...
Based on h264_parser code.
Signed-off-by: James Almer <jamrial@gmail.com >
2019-11-12 22:21:40 -03:00
James Almer
72ec3358f4
avcodec: add an AV1 frame merge bitstream filter
...
This BSF takes Temporal Units split across different AVPackets and merges them
by looking for Temporal Delimiter OBUs.
Signed-off-by: James Almer <jamrial@gmail.com >
2019-11-12 22:21:25 -03:00
James Almer
245cbab556
avcodec/cbs_av1: support one byte long OBUs when the size is not set in the bitstream
...
This will be needed by the next commit, where packets with a single Temporal
Delimiter OBU with no size will need to be parsed
Signed-off-by: James Almer <jamrial@gmail.com >
2019-11-12 22:04:29 -03:00
James Almer
3a84081cbd
avcodec/librav1e: free the RaPacket after using it
...
Fixes leaks.
Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2019-11-10 22:31:42 -03:00
James Almer
dad7592429
avcodec/tiff: check the black level denominator
...
Fixes ticket #8327 .
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: James Almer <jamrial@gmail.com >
2019-10-29 10:23:39 -03:00
James Almer
1aa4fc1ec2
avfilter/avf_showfreqs: free input frame after using it
...
Fixes ticket #8336 .
Reviewed-by: Paul B Mahol <onemda@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2019-10-26 10:16:02 -03:00
James Almer
738bc3e742
x86/vf_transpose: make ff_transpose_8x8_16_sse2 work on x86_32
...
Reviewed-by: Paul B Mahol <onemda@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2019-10-22 13:51:13 -03:00
James Almer
a34d06222f
avcodec/libdav1d: fix setting AVFrame reordered_opaque
...
Actually reorder the values.
Should effectively fix ticket #8300 .
Tested-by: Andrey Semashev <andrey.semashev@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2019-10-22 12:00:49 -03:00
James Almer
78a24fd014
avcodec/atrac9tab: use explicit ATRAC9BlockConfig struct initializers
...
Cosmetic change.
Reviewed-by: Lynne <dev@lynne.ee >
Signed-off-by: James Almer <jamrial@gmail.com >
2019-10-22 10:49:30 -03:00
James Almer
cecf29eb1c
avformat/oggenc: free buffered page lists while uninitializing the muxer
...
If the trailer is never writen, there could be buffered pages that would leak.
Reviewed-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2019-10-21 17:20:58 -03:00
James Almer
aeb8b65cdf
avformat/flacenc: add a deinit function
...
Reviewed-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2019-10-21 17:20:20 -03:00
James Almer
df57246aaf
avformat/mp3enc: add init and deinit functions
...
Reviewed-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2019-10-21 17:20:20 -03:00
James Almer
b46cdd9d23
avformat/ttaenc: add a deinit function
...
Reviewed-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2019-10-21 17:20:20 -03:00
James Almer
a581bb66ea
avformat/avienc: add deinit function
...
Fixes ticket #8302
Reviewed-by: Paul B Mahol <onemda@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2019-10-21 17:20:20 -03:00
James Almer
02cf239196
avformat: call AVOutputFormat->deinit() when freeing the context
...
Despite the doxy stating that it's called when the muxer is destroyed,
this was not true in practice. It's only called by av_write_trailer()
and on init() failure.
An AVFormatContext may be closed without writing the trailer if errors
ocurred while muxing packets, so in order to prevent memory leaks, it
should effectively be called when freeing the muxer.
Signed-off-by: James Almer <jamrial@gmail.com >
2019-10-21 17:20:20 -03:00
James Almer
27bae5aaca
x86/vf_transpose: fix cpuflags check
...
Signed-off-by: James Almer <jamrial@gmail.com >
2019-10-21 17:01:39 -03:00
James Almer
31aafdac24
avformat/options: don't call avformat_free_context() within avformat_alloc_context()
...
avformat_free_context() expects AVFormatContext->internal to not be NULL.
Reviewed-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2019-10-19 21:29:36 -03:00
James Almer
90e37adab7
avformat/nutenc: free all missing dynamic AVIOContext on header writing failure
...
Fixes part of ticket #8316
Signed-off-by: James Almer <jamrial@gmail.com >
2019-10-19 14:42:23 -03:00
James Almer
0700e7247b
avformat/mpegenc: check for stream private data during deinit
...
Prevents pointer dereferences when streams were not fully initialized.
Signed-off-by: James Almer <jamrial@gmail.com >
2019-10-18 23:14:40 -03:00
James Almer
1d479300cb
avformat/nutenc: don't allocate a dynamic AVIOContext if no index is going to be written
...
Fixes ticket #8295
Signed-off-by: James Almer <jamrial@gmail.com >
2019-10-18 20:53:10 -03:00
James Almer
39d5acbd09
avcodec/libdav1d: set AVFrame reordered_opaque
...
Fixes ticket #8300
Signed-off-by: James Almer <jamrial@gmail.com >
2019-10-17 12:35:28 -03:00
James Almer
dd01947397
avformat/latmenc: abort if no extradata is available
...
Fixes ticket #8273 .
Reviewed-by: Paul B Mahol <onemda@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2019-10-15 13:04:44 -03:00
James Almer
62f4722582
avcodec/av1_parse: Use av_fast_realloc() for OBU array
...
Based on commits 22bec0d33f and
cebb446911 .
Signed-off-by: James Almer <jamrial@gmail.com >
2019-10-15 00:00:38 -03:00
James Almer
1e0b6bc0b4
avcodec/av1_parse: simplify memset call
...
Removed (new_size - pkt->nals_allocated) because this value is always 1
during the call.
Based on commit 78b86c30d3 .
Signed-off-by: James Almer <jamrial@gmail.com >
2019-10-15 00:00:02 -03:00
James Almer
2e4f86e04c
ffprobe: fix output of packets_and_frames section in JSON format
...
The "type" entry was hardcoded with an trailing comma, even if it was
the only entry in the section.
Fixes ticket #8228 .
Signed-off-by: James Almer <jamrial@gmail.com >
2019-10-14 21:06:56 -03:00
James Almer
5c3d521a94
doc/APIchanges: add missing entry for the new runtime param AVOption flag
...
Signed-off-by: James Almer <jamrial@gmail.com >
2019-10-14 12:05:01 -03:00
James Almer
72704cbff4
avformat/dv: free all allocated structs on dv_read_header failure
...
Also propagate proper AVERROR codes while at it.
Fixes ticket #8230 .
Reviewed-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2019-10-11 20:38:36 -03:00
James Almer
5f758c31f9
avformat/matroskaenc: use r_frame_rate as fallback to set a track's DefaultDuration
...
Signed-off-by: James Almer <jamrial@gmail.com >
2019-10-06 13:44:52 -03:00
James Almer
3b4e9a31ea
avformat/matroskadec: don't rescale mastering display values
...
Simplifies code.
Signed-off-by: James Almer <jamrial@gmail.com >
2019-10-05 22:37:41 -03:00
James Almer
e3f0ecfc57
avcodec/fitsdec: fix use of uninitialised values
...
header.data_max and header.data_min are not necessarely set on all decoding scenarios.
Fixes a Valgrind reported regression since cfa1937791 .
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: James Almer <jamrial@gmail.com >
2019-09-29 12:44:43 -03:00
James Almer
75c7484fcb
avcodec/mpeg4audio: fix doxy for ff_mpeg4audio_get_config_gb()
...
Signed-off-by: James Almer <jamrial@gmail.com >
2019-09-27 10:49:29 -03:00
James Almer
35bbaa6652
avformat: use avpriv_mpeg4audio_get_config2()
...
Signed-off-by: James Almer <jamrial@gmail.com >
2019-09-27 10:37:11 -03:00
James Almer
d582cc17e1
avcodec: use avpriv_mpeg4audio_get_config2()
...
Signed-off-by: James Almer <jamrial@gmail.com >
2019-09-27 10:37:11 -03:00
James Almer
f96a8b015f
avcodec/mpeg4audio: add avpriv_mpeg4audio_get_config2()
...
Identical to avpriv_mpeg4audio_get_config() except taking a size argument in
bytes, and featuring a new logging context paremeter.
Schedule avpriv_mpeg4audio_get_config() for removal as soon as major is bumped
as well.
Signed-off-by: James Almer <jamrial@gmail.com >
2019-09-27 10:37:11 -03:00
James Almer
58aa0ed8f1
aformat/movenc: add missing padding to output track extradata
...
Fixes ticket #8183 .
Tested-by: Thierry Foucu <tfoucu@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2019-09-26 15:19:00 -03:00
James Almer
1dbd3c6116
avfilter/vf_eq: fix compilation with x86 asm disabled
...
Signed-off-by: James Almer <jamrial@gmail.com >
2019-09-26 12:19:43 -03:00
James Almer
bae8844e35
avformat/utils: unref packet on AVInputFormat.read_packet() failure
...
Demuxers may have allocated a packet before encountering an error and aborting.
Fixes ticket #8150
Signed-off-by: James Almer <jamrial@gmail.com >
2019-09-25 20:53:05 -03:00
James Almer
d889ae3396
avcodec/bsf: check that AVBSFInternal was allocated before dereferencing it
...
This can happen when av_bsf_free() is called on av_bsf_alloc() failure.
Reviewed-by: Paul B Mahol <onemda@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2019-09-23 10:02:03 -03:00
James Almer
1c165e19f9
avformat/latmenc: fix context used for logging
...
Signed-off-by: James Almer <jamrial@gmail.com >
2019-09-21 12:32:24 -03:00
James Almer
179e15dc97
avformat/movenc: don't hardcode the colr box size
...
Signed-off-by: James Almer <jamrial@gmail.com >
2019-09-19 21:32:50 -03:00
James Almer
1d86e4b3eb
checkasm/opusdsp: declare opus_deemphasis as a function returning a float
...
Fixes ticket #8175
Signed-off-by: James Almer <jamrial@gmail.com >
2019-09-18 11:42:06 -03:00
James Almer
dc0806dd25
avcodec/allcodecs: make libdav1d the preferred AV1 decoder
...
It's considerably faster than libaom in most systems.
Reviewed-by: BBB
Signed-off-by: James Almer <jamrial@gmail.com >
2019-09-16 15:26:46 -03:00
James Almer
6c0167f6f6
avcodec/libdav1d: use the library default for the filmgrain option
...
Signed-off-by: James Almer <jamrial@gmail.com >
2019-09-15 11:09:39 -03:00