Mark Thompson
b1f01e85a9
lavu: add a way to query hwcontext frame constraints
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
9 years ago
Luca Barbato
1098f5c049
svq3: Use a separate buffer for decoding the slices
...
The AVPacket.data should be considered read-only.
9 years ago
Sean McGovern
2f4a1bb9bf
cmdutils: update copyright year to 2016
...
CC: libav-stable@libav.org
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
9 years ago
Luca Barbato
8b4b1c1eea
matroska: Support V_QUICKTIME as written in the specification
...
Check if the size is written the first 4 bytes and read the next 4
as fourcc candidate, fallback checking the initial for 4 bytes.
"The CodecPrivate contains all additional data that is stored in the
'stsd' (sample description) atom in the QuickTime file after the
mandatory video descriptor structure (starting with the size and FourCC
fields)"
CC: libav-stable@libav.org
9 years ago
Luca Barbato
92c1a83ee9
qsv: Fix loading multiple plugins
...
av_get_token does not strip the trailing separator.
9 years ago
Luca Barbato
7e01d48cfd
mov: Check the entries value when parsing dref boxes
...
And properly reset the entries count when resetting the entries.
CC: libav-stable@libav.org
Bug-Id: 929
Bug-Id: CVE-2016-3062
9 years ago
Luca Barbato
59b9d2f684
configure: Add support for clang llvm-cov
9 years ago
Luca Barbato
c11a858626
configure: Support msan as toolchain
9 years ago
Anton Khirnov
328e9a15c5
buffer: drop a reference to a non-existing function from the docs
...
This function only ever existed in the draft versions of the API.
9 years ago
Anton Khirnov
7480d00131
pixfmt: fix the AV_PIX_FMT_VAAPI_VLD doxy
9 years ago
Luca Barbato
39a2d3288e
mpegvideo: Refactor emulated_edge_mc calls
9 years ago
Luca Barbato
0242351390
mpegvideo: Fix undefined negative shifts in mpeg_motion_internal
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
9 years ago
Luca Barbato
7d4a1ff344
mpegvideo: Fix undefined negative shifts in ff_init_block_index
...
Found-by: gcc5-ubsan.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
9 years ago
Katerina Barone-Adesi
1389b4c18d
idct8x8: Fix undefined negative shifts
...
The original code left-shifts negative values, which is undefined
in the C99 specification (the one used during normal Libav compilation).
This change multiplies by (1 << shift), which is functionally equivalent,
but has defined behavior.
With this change, fate-idct8x8 compiled with --fsanitize=undefined works.
Bug-Id: 686
9 years ago
Vittorio Giovara
e10b7ef2fe
vdpau: Add missing deprecation guards
9 years ago
Vittorio Giovara
d40cb726d2
mov: Trim dref absolute path
...
Samples produced by Omneon (Harmonic) store external references with
paths ending with 0s. Such movs cannot be loaded properly since every
0 is converted to '/', to keep the same parsing code for dref type 2
and type 18: this makes the external reference point to a non-existing
direactory, rather than to the actual referenced file.
Add a brief trimming loop that drops all ending 0s before trying to
parse the external reference path.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
9 years ago
wm4
0b6e5d6b32
avconv: remove sub-frame warning
...
It's not practical to keep this with the new decode API.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
9 years ago
wm4
2e2f8534eb
lavc: factor apply_param_change() AV_EF_EXPLODE handling
...
Remove the duplicated code for handling failure of apply_param_change().
Signed-off-by: Anton Khirnov <anton@khirnov.net>
9 years ago
wm4
7a6cf27714
lavu: improve documentation of some AVFrame functions
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
9 years ago
Anton Khirnov
84b5dcf275
asfenc: remove an unused variable
9 years ago
Anton Khirnov
ff3db937ef
asfenc: fix some possible integer overflows
...
Store the file duration in the same timebase it arrives (i.e.
milliseconds) and only convert it to the file duration units (100ns)
when it's actually written, thus simplifying some calculations. Also,
store the duration as unsigned, since it cannot be negative.
CC: libav-stable@libav.org
Bug-ID: CVE-2016-2326
9 years ago
Anton Khirnov
1ceb07eb31
avformat_find_stream_info: move duration guessing after updating codec parameters
...
This bitrate might not be known otherwise.
Bug-Id: 926
9 years ago
Diego Biurrun
11843ededa
fate: Add separate target for all indeo3 tests
9 years ago
Vittorio Giovara
b39ab8549a
fate: Add test for indeo2 with delta frames
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
9 years ago
Luca Barbato
f8c34f4b8d
indeo2: Fix banding artefacts
...
Rename luma table to delta table and change how it is used.
CC: libav-stable@libav.org
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Signed-off-by: Diego Biurrun <diego@biurrun.de>
9 years ago
Luca Barbato
d4066a7024
indeo2data: K&R formatting cosmetics
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Signed-off-by: Diego Biurrun <diego@biurrun.de>
9 years ago
Diego Biurrun
1a094af638
fft: Split MDCT bits off from FFT
9 years ago
Mark Harris
4d13bcceb9
sdp: fix opus sprop-stereo fmtp syntax
...
Signed-off-by: Martin Storsjö <martin@martin.st>
9 years ago
Diego Biurrun
f6ccee9bed
fate: fft: Split DCT/FFT/MDCT/RDFT tests into separate targets
9 years ago
Diego Biurrun
4c297249ac
rdft: arm: Split RDFT initialization into a separate file
9 years ago
Diego Biurrun
97aec6e75e
fft: arm: Drop unnecessary #include, add missing ones
9 years ago
Diego Biurrun
73ff983e8d
fft: x86: cosmetics: Drop silly comments, add comment, whitespace
9 years ago
Luca Barbato
ce9d7da765
qsv: Move down the implementation query
...
The plugin loaded may not match the general implementation capability
wise.
9 years ago
Anton Khirnov
dbb43b8b83
avpacket: properly reset data/size in av_packet_move_ref()
...
It currently just calls av_init_packet(), which does not touch those
fields.
9 years ago
Anton Khirnov
ba357e9869
avprobe: switch to codecpar
9 years ago
Anton Khirnov
567d6d5f9d
avprobe: add local per-stream state
...
This will be useful in the following commits.
9 years ago
Anton Khirnov
c9478410c6
avprobe: add local per-file state
...
Do not pass just a bare AVFormatContext pointer around, wrap it in
struct. This will be useful in the following commits.
9 years ago
Anton Khirnov
c80344d010
mpegvideo_enc: use avcodec_free_context() instead of av_free()
9 years ago
Anton Khirnov
168a443d43
avprobe: print information from the codec descriptor
...
avprobe is not doing any decoding, so this is more correct than printing
information from a random codec implementation.
9 years ago
Anton Khirnov
e7188a1a84
avprobe: remove a pointless condition and a dead branch
...
AVStream.codec is always non-NULL
9 years ago
Anton Khirnov
dc4983d78a
APIchanges: add missing hashes and dates
...
Also, remove a stray line (apparently fallout from conflict resolution).
9 years ago
Anton Khirnov
3e8fd93b6a
lavf: add a missing bump and APIchanges for the codecpar switch
9 years ago
Vittorio Giovara
e66fa35392
vc1dec: Check group allocations separatedly
...
This avoids accessing NULL pointers in case of error.
9 years ago
Vittorio Giovara
01f0e6a0c9
vc1dec: Fix leak on error for array allocations
...
The deinit function in the 'error' section will correctly free
everything.
9 years ago
Vittorio Giovara
f91d94bdfc
vc1dec: Properly call deinit function on error
9 years ago
Vittorio Giovara
35b1cd343c
vc1dec: Drop commented out cruft
9 years ago
Vittorio Giovara
fa55addd23
img2: Drop av_ prefix for a static function
...
This prefix is reserved for public functions only.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
9 years ago
Diego Biurrun
d6e49096c0
idct: Only build prores IDCT if ProRes decoder is enabled
9 years ago
Anton Khirnov
3c53627ac1
qsvdec: store the sync point in heap memory
...
The reasoning is the same as for the corresponding qsvenc patch.
9 years ago
Maxym Dmytrychenko
a1335149fd
qsvenc: store the sync point in heap memory
...
The QSV runtime expects the sync point address passed to
MFXVideoENCODE_EncodeFrameAsync() to be valid until
MFXVideoCORE_SyncOperation().
Signed-off-by: Anton Khirnov <anton@khirnov.net>
9 years ago