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
James Almer
4c34ed65f6
avformat/rmdec.c: fix brackets around arguments
...
Regression since 78f52b4fe3
Signed-off-by: James Almer <jamrial@gmail.com >
2019-09-15 11:04:33 -03:00
James Almer
78f52b4fe3
avformat/rmdec.c: fix left shift of negative value in rm_sync()
...
Fixes ticket 8143.
Reviewed-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2019-09-15 10:31:19 -03:00
James Almer
1faedb9a11
x85/opusdsp: enable the functions on all FMA3 CPUs
...
It's not using ymm registers, so limiting it to CPUs with fast AVX
is not necessary.
Signed-off-by: James Almer <jamrial@gmail.com >
2019-09-11 20:50:45 -03:00
James Almer
80444e23ac
x86/opusdps: clear the high bits from some gprs
...
Fixes checkasm on systems like win64.
Reviewed-by: Lynne
Signed-off-by: James Almer <jamrial@gmail.com >
2019-09-11 20:42:31 -03:00
James Almer
4857688732
x86/vf_v360: use a faster horizontal add in remap4_8bit_line_avx2
...
Signed-off-by: James Almer <jamrial@gmail.com >
2019-09-06 12:11:46 -03:00
James Almer
2200cf1aca
x86/vf_v360: make remap{1,2}_8bit_line_avx2 work on x86_32
...
Signed-off-by: James Almer <jamrial@gmail.com >
2019-09-06 11:11:45 -03:00
James Almer
3b3150c45f
avformat/matroskadec: use av_fast_realloc to reallocate ebml list arrays
...
Speeds up the process considerably.
Fixes ticket #8109 .
Suggested-by: nevcairiel
Suggested-by: cehoyos
Signed-off-by: James Almer <jamrial@gmail.com >
2019-09-04 10:08:17 -03:00
James Almer
f34aabfbae
avformat/matroskadec: use proper types for some EbmlSyntax fields
...
Signed-off-by: James Almer <jamrial@gmail.com >
2019-09-04 10:07:13 -03:00
James Almer
a0739e8a16
avcodec/nuv: prevent frame copying when outputting duplicate frames
...
Signed-off-by: James Almer <jamrial@gmail.com >
2019-09-04 10:07:12 -03:00
James Almer
343f8d514e
avcodec/wcmv: prevent frame copying when outputting duplicate frames
...
Signed-off-by: James Almer <jamrial@gmail.com >
2019-09-04 10:07:12 -03:00
James Almer
5102999223
Revert "avcodec/wcmv: Avoid copying frames if they are unchanged"
...
This reverts commit 976dae8b32 .
An alternative approach to reduce frame copying will follow.
2019-09-04 10:07:12 -03:00
James Almer
c14a12ac84
avcodec/wcmv: use ff_reget_buffer()
...
Signed-off-by: James Almer <jamrial@gmail.com >
2019-09-04 10:07:12 -03:00
James Almer
9ea6d2149e
avcodec/decode: add a flags parameter to ff_reget_buffer()
...
Some decoders may not need a writable buffer in some specific cases, but only
a reference to the existing buffer with updated frame properties instead, for
the purpose of returning duplicate frames. For this, the
FF_REGET_BUFFER_FLAG_READONLY flag is added, which will prevent potential
allocations and buffer copies when they are not needed.
Signed-off-by: James Almer <jamrial@gmail.com >
2019-09-04 10:07:12 -03:00
James Almer
b319feb05f
avcodec/qtrle: don't clear the palette when flushing
...
It may be propagated only once for the entire stream.
Signed-off-by: James Almer <jamrial@gmail.com >
2019-08-27 15:24:47 -03:00
James Almer
d70bbdc5fa
avcodec/qtrle: call ff_reget_buffer() only when the picture data is going to change
...
ff_reget_buffer() will attempt to create a writable copy of the frame,
which is not needed when the decoder intends to return a reference to
the same buffer as the previous frame.
Should reduce data copy, hopefully achieving a similar speed up as
a9dacdeea6 without dropping frames.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: James Almer <jamrial@gmail.com >
2019-08-27 15:24:21 -03:00
James Almer
8b71cc3363
Revert "avcodec/qtrle: Do not output duplicated frames on insufficient input"
...
This reverts commit a9dacdeea6 .
This patch effectively made the decoder output vfr content out of samples
where cfr is expected.
Addresses ticket #7880 .
Signed-off-by: James Almer <jamrial@gmail.com >
2019-08-27 15:10:03 -03:00
James Almer
33a53722dc
avcodec/qtrle: add a flush() callback
...
The reference frame isn't valid after seeking
Reviewed-by: Paul B Mahol <onemda@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2019-08-27 11:58:45 -03:00
James Almer
af70bfbead
avcodec/h2645_parse: zero initialize the rbsp buffer
...
Fixes ticket #8093
Reviewed-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2019-08-27 10:56:41 -03:00
James Almer
808a6717e0
avformat/movenc: add muxing support for Dolby TrueHD streams
...
Signed-off-by: James Almer <jamrial@gmail.com >
2019-08-24 22:42:34 -03:00
James Almer
d1409fe952
avformat/mov: add demuxing support for Dolby TrueHD streams
...
Signed-off-by: James Almer <jamrial@gmail.com >
2019-08-24 22:41:58 -03:00
James Almer
c300fe13b6
avcodec/mlp_parser: export AVCodecContext frame_size
...
Signed-off-by: James Almer <jamrial@gmail.com >
2019-08-24 22:41:52 -03:00
James Almer
21d7eeafc1
avcodec/mlp_parse: move TrueHD channel layout and sample rate related code to the header
...
It will be needed by the next commit.
Signed-off-by: James Almer <jamrial@gmail.com >
2019-08-24 20:16:00 -03:00
James Almer
92c32b0f0c
tools/target_dec_fuzzer: use refcounted packets
...
Should reduce allocations and data copying.
Signed-off-by: James Almer <jamrial@gmail.com >
2019-08-23 11:08:36 -03:00
James Almer
03ba386833
avcodec/libdav1d: allow setting frame size limit in pixels
...
Signed-off-by: James Almer <jamrial@gmail.com >
2019-08-14 22:01:05 -03:00
James Almer
1cf2f040e3
avformat/dashenc: fix writing the AV1 codec string in mp4 mode
...
From https://aomediacodec.github.io/av1-isobmff/#codecsparam , the parameters
sample entry 4CC, profile, level, tier, and bitDepth are all mandatory fields.
All the other fields are optional, mutually inclusive (all or none).
Fixes ticket #8049
Signed-off-by: James Almer <jamrial@gmail.com >
2019-08-03 12:33:15 -03:00
James Almer
ce6a98e830
avformat/dashenc: update stream extradata from packet side data
...
codecpar->extradata is not going to change between packets. New extradata
is instead propagated using packet side data.
Use ff_alloc_extradata() as well.
Signed-off-by: James Almer <jamrial@gmail.com >
2019-08-03 12:33:14 -03:00
James Almer
9a44ec9410
avformat/av1: combine high_bitdepth and twelve_bit into a single bitdepth value
...
Signed-off-by: James Almer <jamrial@gmail.com >
2019-08-03 12:33:14 -03:00
James Almer
0d597a69ba
avformat/av1: rename some AV1SequenceParameters fields
...
Cosmetic change.
Signed-off-by: James Almer <jamrial@gmail.com >
2019-08-03 12:33:14 -03:00
James Almer
68e48e5d97
avformat/av1: split off sequence header parsing from the av1C writing function
...
It will be used by the dash muxer
Signed-off-by: James Almer <jamrial@gmail.com >
2019-08-03 12:33:14 -03:00
James Almer
0c7cfd2c19
avformat/av1: add color config values to AV1SequenceParameters
...
Signed-off-by: James Almer <jamrial@gmail.com >
2019-08-03 12:33:14 -03:00
James Almer
502aff91a7
avformat/av1: fix AV1CodecConfigurationBox name in doxy
...
Signed-off-by: James Almer <jamrial@gmail.com >
2019-07-30 00:33:47 -03:00
James Almer
881e1f5a62
avformat/aacdec: resync to the next adts frame on invalid data instead of aborting
...
Should fix ticket #6634
Signed-off-by: James Almer <jamrial@gmail.com >
2019-07-20 21:47:55 -03:00
James Almer
a38eab8b75
avformat/aacdec: factorize the adts frame resync code
...
Signed-off-by: James Almer <jamrial@gmail.com >
2019-07-20 21:47:23 -03:00
James Almer
23599834bd
avcodec/tak_parser: don't return error values
...
The API does not allow it.
Also set poutbuf and poutbuf_size to NULL/0 on error.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: James Almer <jamrial@gmail.com >
2019-07-20 13:43:06 -03:00
James Almer
e460dcc832
avcodec/cbs_h265: add support for Alpha Channel Info SEI messages
...
As defined in sections F.14.2.8 and F.14.3.8
Reviewed-by: Mark Thompson <sw@jkqxz.net >
Signed-off-by: James Almer <jamrial@gmail.com >
2019-07-20 11:28:09 -03:00
James Almer
056865a1d6
avcodec: clarify the allocation requirements for intra_matrix and inter_matrix fields
...
Reviewed-by: Paul B Mahol <onemda@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2019-07-17 17:56:15 -03:00
James Almer
7cb4f8c962
avcodec: remove reference to AVPacket's destruct field
...
The field was removed years ago.
Signed-off-by: James Almer <jamrial@gmail.com >
2019-07-15 11:20:03 -03:00
James Almer
7c644989a5
avcodec/hevc_ps: fix range of num_tile_{columns,rows}_minus1
...
From 7.4.3.3.1:
num_tile_columns_minus1 shall be in the range of 0 to PicWidthInCtbsY - 1, inclusive.
num_tile_rows_minus1 shall be in the range of 0 to PicHeightInCtbsY - 1, inclusive.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: James Almer <jamrial@gmail.com >
2019-07-05 16:30:40 -03:00
James Almer
b8f1542dcb
avfilter/vf_gblur: add missing preprocessor check
...
Fixes compilation on x86_32
Signed-off-by: James Almer <jamrial@gmail.com >
2019-06-12 10:54:59 -03:00
James Almer
f66bd0e8de
configure: add missing dnn dependency to derain filter
...
Signed-off-by: James Almer <jamrial@gmail.com >
2019-06-12 10:27:35 -03:00
James Almer
ff2a638c83
avcodec/cbs_h264: add support for Alternative Transfer Characteristics SEI message
...
Reviewed-by: Mark Thompson <sw@jkqxz.net >
Signed-off-by: James Almer <jamrial@gmail.com >
2019-06-03 19:21:38 -03:00
James Almer
d903c09d9a
avcodec/cbs_mpeg2: fix leak of extra_information_slice buffer in cbs_mpeg2_read_slice_header()
...
cbs_mpeg2_free_slice() calls av_buffer_unref() on extra_information_ref,
meaning allocating with av_malloc() was not the intention.
Signed-off-by: James Almer <jamrial@gmail.com >
2019-05-29 00:16:41 +01:00
James Almer
f78172b29a
avcodec/libdav1d: add support for RGB streams
...
Signed-off-by: James Almer <jamrial@gmail.com >
2019-05-27 13:21:52 -03:00
James Almer
254da41531
avcodec/libdav1d: assert Dav1dPicture allocator_data is set before referencing its data
...
To ensure the custom allocator is effectively used.
Signed-off-by: James Almer <jamrial@gmail.com >
2019-05-27 12:49:01 -03:00
James Almer
0e07b767c8
avcodec/libdav1d: export level from the Sequence Header
...
Signed-off-by: James Almer <jamrial@gmail.com >
2019-05-27 12:47:33 -03:00
James Almer
e1839283bc
doc: add basic documentation for libdav1d
...
Signed-off-by: James Almer <jamrial@gmail.com >
2019-05-20 18:21:33 -03:00
James Almer
fbc5a27694
avcodec/libdav1d: fine tune thread distribution
...
As suggested by Ronald, don't map auto threads to frame threads only, and
instead distribute them between frame and tile more efficiently.
Add a new framethreads override option, similar to the tilethreads one.
Signed-off-by: James Almer <jamrial@gmail.com >
2019-05-20 16:20:04 -03:00
James Almer
3f31726994
avcodec/options: remove dead test code
...
It's been unused since 5d48e4eafa .
Signed-off-by: James Almer <jamrial@gmail.com >
2019-05-17 12:48:24 -03:00
James Almer
58d167bcd5
avcodec/Makefile: add missing pngdsp dependency to the lscr decoder
...
Signed-off-by: James Almer <jamrial@gmail.com >
2019-05-14 16:47:56 -03:00
James Almer
fcf53f616e
configure: remove mlp parser dependency from truehd_core bsf
...
It's no longer needed.
Signed-off-by: James Almer <jamrial@gmail.com >
2019-05-07 17:42:41 -03:00
James Almer
109b0d7c0f
avcodec/mlp_parser: split off shared code to its own file
...
Signed-off-by: James Almer <jamrial@gmail.com >
2019-05-07 17:30:19 -03:00
James Almer
fec4212d8e
avcodec/vp9_raw_reorder: reset state when flushing
...
Signed-off-by: James Almer <jamrial@gmail.com >
2019-05-06 00:22:32 -03:00
James Almer
d88193c219
avformat/aacdec: fix demuxing of small frames
...
10 bytes (id3v2 header amount of bytes) were being read before any checks
were made on the bitstream. The result was that we were overreading into
the next frame if the current one was 8 or 9 bytes long.
Fixes tickets #7271 and #7869 .
Signed-off-by: James Almer <jamrial@gmail.com >
2019-05-05 21:40:31 -03:00
James Almer
fcc01ba36a
avcodec/truehd_core: reset state when flushing
...
Reviewed-by: Paul B Mahol <onemda@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2019-05-05 12:30:18 -03:00
James Almer
b41d8ab2e6
x86/v210dec: use named registers
...
Signed-off-by: James Almer <jamrial@gmail.com >
2019-05-03 01:20:18 -03:00
James Almer
abf1aa87ab
x86/v210dec: don't reserve more xmm regs than needed
...
Prevents pointless register saving on win64 for the sse3 and avx
versions of the function.
Signed-off-by: James Almer <jamrial@gmail.com >
2019-05-03 01:09:50 -03:00
James Almer
b0e29357ba
x86/v210dec: remove duplicate load instruction
...
Signed-off-by: James Almer <jamrial@gmail.com >
2019-05-03 01:08:34 -03:00
James Almer
f60ddb7310
fate/checkasm: add missing v210dec test
...
Signed-off-by: James Almer <jamrial@gmail.com >
2019-05-03 01:07:38 -03:00
James Almer
e427ba5c68
Merge commit 'c4642788e83b0858bca449f9b6e71ddb015dfa5d'
...
* commit 'c4642788e83b0858bca449f9b6e71ddb015dfa5d':
time_internal: Prefix fallback versions of gmtime_r/localtime_r with ff_
Merged-by: James Almer <jamrial@gmail.com >
2019-05-02 13:50:31 -03:00
James Almer
e645d7a6d4
Merge commit '9485cce6d55baf547e92ef1f54cad117f2a38287'
...
* commit '9485cce6d55baf547e92ef1f54cad117f2a38287':
time_internal: Do not attempt to override *time_r() macros
This commit is a noop, see a604de4fd8
Merged-by: James Almer <jamrial@gmail.com >
2019-05-02 13:48:43 -03:00
James Almer
67d466d09b
Merge commit 'c93e92f2b25f4174350ded3f59ad117ec8eb1fe4'
...
* commit 'c93e92f2b25f4174350ded3f59ad117ec8eb1fe4':
configure: Include time.h when checking for gmtime_r and localtime_r
This commit is a noop, see 1b4dd59e5f
Merged-by: James Almer <jamrial@gmail.com >
2019-05-02 13:46:31 -03:00