]>
git.sesse.net Git - ffmpeg/log
Alexandra Hájková [Wed, 6 Apr 2016 18:26:48 +0000 (20:26 +0200)]
webp: Convert to the new bitstream reader
Diego Biurrun [Fri, 2 Dec 2016 12:06:02 +0000 (13:06 +0100)]
configure: Add misssing qpeldsp dependency to mss2 decoder
Diego Biurrun [Mon, 25 Mar 2013 13:59:50 +0000 (14:59 +0100)]
build: Drop support for configuring library name suffixes
It is of doubtful utility, adds complexity and no known users exist.
Diego Biurrun [Tue, 29 Nov 2016 16:34:15 +0000 (17:34 +0100)]
configure: Drop bogus xcb_event variables
Diego Biurrun [Tue, 29 Nov 2016 14:09:35 +0000 (15:09 +0100)]
Remove Plan 9 support
Supporting the system was a nice joke for the 9 release, but it has
run its course. Nowadays Plan 9 receives no testing and has no
practical usefulness.
Diego Biurrun [Tue, 29 Nov 2016 11:44:23 +0000 (12:44 +0100)]
build: Drop support for old versions of libdc1394
The libdc1394 API transition was finished close to a decade ago.
Diego Biurrun [Wed, 9 Mar 2016 14:39:29 +0000 (15:39 +0100)]
build: Add separate flags for checkheaders targets
This allows filtering out some warning noise.
Diego Biurrun [Mon, 16 Mar 2015 18:21:14 +0000 (19:21 +0100)]
build: Add -Wpedantic and -Wextra to extra warning flags
Also drop -Winline from set of warning flags as it only produces noise.
James Almer [Wed, 30 Nov 2016 14:12:40 +0000 (11:12 -0300)]
mpeg4audio: correctly propagate meaningful error values
Signed-off-by: James Almer <jamrial@gmail.com>
Wan-Teh Chang [Wed, 30 Nov 2016 19:52:41 +0000 (11:52 -0800)]
mmaldec: initialize refcount using atomic_init()
This is how we initialize refcount in libavutil/buffer.c.
Signed-off-by: Wan-Teh Chang <wtc@google.com>
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Luca Barbato [Fri, 2 Dec 2016 12:11:43 +0000 (13:11 +0100)]
configure: Be more helpful when requiring options set
Be explicit about which options should be set.
Aleksandr Slobodeniuk [Fri, 2 Dec 2016 12:21:12 +0000 (15:21 +0300)]
examples: fix a typo in an error message
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Vittorio Giovara [Thu, 1 Dec 2016 20:17:27 +0000 (15:17 -0500)]
lavu: Document the color properties enumeration values origin
Vittorio Giovara [Wed, 30 Nov 2016 22:09:34 +0000 (17:09 -0500)]
options_table: Do not rely on enum size as option bound
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Vittorio Giovara [Wed, 30 Nov 2016 22:09:33 +0000 (17:09 -0500)]
lavc: Use a stricter check for the color properties values
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Diego Biurrun [Wed, 9 Mar 2016 09:27:12 +0000 (10:27 +0100)]
cabac: x86: Give optimizations header a more meaningful name
Martin Storsjö [Fri, 18 Nov 2016 10:26:04 +0000 (12:26 +0200)]
aarch64: vp9itxfm: Skip empty slices in the first pass of idct_idct 16x16 and 32x32
This work is sponsored by, and copyright, Google.
Previously all subpartitions except the eob=1 (DC) case ran with
the same runtime:
vp9_inv_dct_dct_16x16_sub16_add_neon: 1373.2
vp9_inv_dct_dct_32x32_sub32_add_neon: 8089.0
By skipping individual 8x16 or 8x32 pixel slices in the first pass,
we reduce the runtime of these functions like this:
vp9_inv_dct_dct_16x16_sub1_add_neon: 235.3
vp9_inv_dct_dct_16x16_sub2_add_neon: 1036.7
vp9_inv_dct_dct_16x16_sub4_add_neon: 1036.7
vp9_inv_dct_dct_16x16_sub8_add_neon: 1036.7
vp9_inv_dct_dct_16x16_sub12_add_neon: 1372.1
vp9_inv_dct_dct_16x16_sub16_add_neon: 1372.1
vp9_inv_dct_dct_32x32_sub1_add_neon: 555.1
vp9_inv_dct_dct_32x32_sub2_add_neon: 5190.2
vp9_inv_dct_dct_32x32_sub4_add_neon: 5180.0
vp9_inv_dct_dct_32x32_sub8_add_neon: 5183.1
vp9_inv_dct_dct_32x32_sub12_add_neon: 6161.5
vp9_inv_dct_dct_32x32_sub16_add_neon: 6155.5
vp9_inv_dct_dct_32x32_sub20_add_neon: 7136.3
vp9_inv_dct_dct_32x32_sub24_add_neon: 7128.4
vp9_inv_dct_dct_32x32_sub28_add_neon: 8098.9
vp9_inv_dct_dct_32x32_sub32_add_neon: 8098.8
I.e. in general a very minor overhead for the full subpartition case due
to the additional cmps, but a significant speedup for the cases when we
only need to process a small part of the actual input data.
Signed-off-by: Martin Storsjö <martin@martin.st>
Martin Storsjö [Fri, 18 Nov 2016 09:37:16 +0000 (11:37 +0200)]
arm: vp9itxfm: Skip empty slices in the first pass of idct_idct 16x16 and 32x32
This work is sponsored by, and copyright, Google.
Previously all subpartitions except the eob=1 (DC) case ran with
the same runtime:
Cortex A7 A8 A9 A53
vp9_inv_dct_dct_16x16_sub16_add_neon: 3188.1 2435.4 2499.0 1969.0
vp9_inv_dct_dct_32x32_sub32_add_neon: 18531.7 16582.3 14207.6 12000.3
By skipping individual 4x16 or 4x32 pixel slices in the first pass,
we reduce the runtime of these functions like this:
vp9_inv_dct_dct_16x16_sub1_add_neon: 274.6 189.5 211.7 235.8
vp9_inv_dct_dct_16x16_sub2_add_neon: 2064.0 1534.8 1719.4 1248.7
vp9_inv_dct_dct_16x16_sub4_add_neon: 2135.0 1477.2 1736.3 1249.5
vp9_inv_dct_dct_16x16_sub8_add_neon: 2446.7 1828.7 1993.6 1494.7
vp9_inv_dct_dct_16x16_sub12_add_neon: 2832.4 2118.3 2266.5 1735.1
vp9_inv_dct_dct_16x16_sub16_add_neon: 3211.7 2475.3 2523.5 1983.1
vp9_inv_dct_dct_32x32_sub1_add_neon: 756.2 456.7 862.0 553.9
vp9_inv_dct_dct_32x32_sub2_add_neon: 10682.2 8190.4 8539.2 6762.5
vp9_inv_dct_dct_32x32_sub4_add_neon: 10813.5 8014.9 8518.3 6762.8
vp9_inv_dct_dct_32x32_sub8_add_neon: 11859.6 9313.0 9347.4 7514.5
vp9_inv_dct_dct_32x32_sub12_add_neon: 12946.6 10752.4 10192.2 8280.2
vp9_inv_dct_dct_32x32_sub16_add_neon: 14074.6 11946.5 11001.4 9008.6
vp9_inv_dct_dct_32x32_sub20_add_neon: 15269.9 13662.7 11816.1 9762.6
vp9_inv_dct_dct_32x32_sub24_add_neon: 16327.9 14940.1 12626.7 10516.0
vp9_inv_dct_dct_32x32_sub28_add_neon: 17462.7 15776.1 13446.2 11264.7
vp9_inv_dct_dct_32x32_sub32_add_neon: 18575.5 17157.0 14249.3 12015.1
I.e. in general a very minor overhead for the full subpartition case due
to the additional loads and cmps, but a significant speedup for the cases
when we only need to process a small part of the actual input data.
In common VP9 content in a few inspected clips, 70-90% of the non-dc-only
16x16 and 32x32 IDCTs only have nonzero coefficients in the upper left
8x8 or 16x16 subpartitions respectively.
Signed-off-by: Martin Storsjö <martin@martin.st>
Martin Storsjö [Mon, 28 Nov 2016 09:05:18 +0000 (11:05 +0200)]
arm: vp9itxfm: Only reload the idct coeffs for the iadst_idct combination
This avoids reloading them if they haven't been clobbered, if the
first pass also was idct.
This is similar to what was done in the aarch64 version.
Signed-off-by: Martin Storsjö <martin@martin.st>
Clément Bœsch [Fri, 22 Nov 2013 19:16:09 +0000 (20:16 +0100)]
vp9dsp: add DC only versions for idct/idct.
before:
time ./avconv -v 0 -nostats -threads 1 -i sintel_vp9_500kbps.webm -f null -
real 0m11.125s
user 0m11.059s
sys 0m0.050s
time ./avconv -v 0 -nostats -threads 1 -i sintel_vp9_500kbps.webm -f null -
real 0m10.944s
user 0m10.819s
sys 0m0.064s
after:
time ./avconv -v 0 -nostats -threads 1 -i sintel_vp9_500kbps.webm -f null -
real 0m8.153s
user 0m8.034s
sys 0m0.050s
time ./avconv -v 0 -nostats -threads 1 -i sintel_vp9_500kbps.webm -f null -
real 0m8.038s
user 0m7.980s
sys 0m0.039s
Signed-off-by: Martin Storsjö <martin@martin.st>
Diego Biurrun [Mon, 11 Jan 2016 14:36:12 +0000 (15:36 +0100)]
hevc: Eliminate pointless variable indirection
Diego Biurrun [Thu, 17 Nov 2016 19:41:33 +0000 (20:41 +0100)]
hevc: Drop pointless av_unused attribute
Diego Biurrun [Sun, 3 Jan 2016 21:45:19 +0000 (22:45 +0100)]
metasound: Drop unused tables
Diego Biurrun [Wed, 23 Nov 2016 11:15:00 +0000 (12:15 +0100)]
configure: Integrate X11 checks into vaapi/vdpau checks
Diego Biurrun [Wed, 9 Nov 2016 23:07:06 +0000 (00:07 +0100)]
configure: Do not add newlines in filter()/filter_out() functions
Diego Biurrun [Wed, 16 Nov 2016 17:38:52 +0000 (18:38 +0100)]
configure: Move hardware-accelerated codec deps out of hwaccel section
Diego Biurrun [Thu, 10 Nov 2016 10:20:29 +0000 (11:20 +0100)]
configure: MMAL-related decoders should depend on, not select, mmal
Diego Biurrun [Wed, 11 May 2016 06:59:17 +0000 (08:59 +0200)]
mjpegdec: Check return values of functions that may fail
Diego Biurrun [Thu, 24 Nov 2016 11:46:31 +0000 (12:46 +0100)]
dxva2: Adjust printf length modifiers where appropriate
Diego Biurrun [Thu, 24 Nov 2016 11:46:30 +0000 (12:46 +0100)]
avisynth: Cast to the right type when loading avisynth library functions
Fixes a number of related warnings.
Anton Khirnov [Wed, 26 Oct 2016 06:10:19 +0000 (08:10 +0200)]
lavc: move decoding-related code from utils.c to a new file
Anton Khirnov [Wed, 26 Oct 2016 06:10:19 +0000 (08:10 +0200)]
lavc: move encoding-related code from utils.c to a new file
James Almer [Fri, 25 Nov 2016 00:10:47 +0000 (21:10 -0300)]
aac_adtstoasc_bsf: validate and forward extradata if the stream is already ASC
Fixes AAC AudioSpecificConfig passthrough.
Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Andreas Cadhalpun [Thu, 24 Nov 2016 22:57:46 +0000 (23:57 +0100)]
mss2: only use error correction for matching block counts
This fixes a heap-buffer-overflow in ff_er_frame_end when decoding mss2
with coded_width/coded_height larger than width/height.
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Luca Barbato [Mon, 28 Nov 2016 19:52:47 +0000 (20:52 +0100)]
avconv: Fix the audio next dts computation
Use the correct timebase.
CC: libav-stable@libav.org
Diego Biurrun [Mon, 4 Jan 2016 10:59:38 +0000 (11:59 +0100)]
ac3enc: Avoid unnecessary macro indirections
Diego Biurrun [Mon, 4 Jan 2016 10:58:21 +0000 (11:58 +0100)]
ac3enc: Reshuffle functions to avoid forward declarations
Diego Biurrun [Mon, 4 Jan 2016 10:50:22 +0000 (11:50 +0100)]
ac3enc: Reshuffle some float/fixed-mode ifdefs to avoid a dummy function
Mark Thompson [Fri, 25 Nov 2016 12:36:05 +0000 (12:36 +0000)]
hwcontext_vaapi: Don't abort on failing to allocate from a fixed-size pool
Anton Khirnov [Wed, 23 Nov 2016 12:02:53 +0000 (13:02 +0100)]
tta: avoid undefined shifts
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Anton Khirnov [Wed, 23 Nov 2016 12:02:52 +0000 (13:02 +0100)]
tta: use get_unary() instead of a custom implementation
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Diego Biurrun [Wed, 23 Nov 2016 15:42:00 +0000 (16:42 +0100)]
build: Drop gcrypt support
GnuTLS in combination with gcrypt has been deprecated since 2010.
Diego Biurrun [Wed, 23 Nov 2016 08:27:28 +0000 (09:27 +0100)]
configure: Use correct libm linker flag during math function checks
Diego Biurrun [Tue, 22 Nov 2016 15:51:04 +0000 (16:51 +0100)]
configure: Add missing asyncts filter, movie filter, and output example deps
Also add a missing avcodec.h #include in the movie filter.
Diego Biurrun [Wed, 23 Nov 2016 07:54:01 +0000 (08:54 +0100)]
configure: Use correct variable name in libsnappy test
Diego Biurrun [Tue, 22 Nov 2016 07:11:59 +0000 (08:11 +0100)]
configure: Remove old avisynth support leftover
Janne Grunau [Fri, 18 Nov 2016 20:06:40 +0000 (21:06 +0100)]
arm: warn/error on movrelx usage problematic with PIC on ELF
The warning has false positives but our asm does not trigger it. For
new code false positives can only be avoided by changing the register
allocation.
Diego Biurrun [Tue, 22 Nov 2016 07:18:38 +0000 (08:18 +0100)]
configure: Disable warning C4703 with MSVC
This disables warnings about potentially uninitialized local pointer
variables. Disabling the warning is in line with what we do for gcc.
Diego Biurrun [Tue, 22 Nov 2016 07:46:07 +0000 (08:46 +0100)]
w32pthreads: Fix function pointer casts
This eliminates a handful of warnings at every inclusion of the header.
Martin Storsjö [Thu, 13 Sep 2012 09:55:32 +0000 (12:55 +0300)]
qt-faststart: Do not try to use fancy 64-bit seeking functions on mingw32ce
These functions are not available on mingw32ce.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Martin Storsjö [Wed, 23 Nov 2016 21:27:26 +0000 (23:27 +0200)]
rtmpdh: Do global initialization before running the test
The rtmpdh code can use crypto libraries which may require
a process global init. (gcrypt is one of the libraries
where the rtmpdh test code can fail if global init hasn't been
done, depending on gcrypt version.)
Signed-off-by: Martin Storsjö <martin@martin.st>
Martin Storsjö [Tue, 22 Nov 2016 13:47:17 +0000 (15:47 +0200)]
aarch64: vp9itxfm: Don't repeatedly set x9 when nothing overwrites it
Signed-off-by: Martin Storsjö <martin@martin.st>
Alexandra Hájková [Sat, 16 Apr 2016 15:58:30 +0000 (17:58 +0200)]
rdt: Convert to the new bitstream reader
Alexandra Hájková [Sat, 16 Apr 2016 15:51:16 +0000 (17:51 +0200)]
ogg: Convert to the new bitstream reader
Alexandra Hájková [Sat, 16 Apr 2016 15:46:29 +0000 (17:46 +0200)]
mpegts: Convert to the new bitstream reader
Alexandra Hájková [Fri, 15 Apr 2016 09:03:55 +0000 (11:03 +0200)]
xsubdec: Convert to the new bitstream reader
Alexandra Hájková [Fri, 15 Apr 2016 08:57:22 +0000 (10:57 +0200)]
xan: Convert to the new bitstream reader
Alexandra Hájková [Fri, 15 Apr 2016 08:50:38 +0000 (10:50 +0200)]
wnv1: Convert to the new bitstream reader
Alexandra Hájková [Thu, 14 Apr 2016 09:59:21 +0000 (11:59 +0200)]
vima: Convert to the new bitstream reader
Alexandra Hájková [Thu, 14 Apr 2016 09:52:48 +0000 (11:52 +0200)]
vble: Convert to the new bitstream reader
Alexandra Hájková [Thu, 14 Apr 2016 09:07:15 +0000 (11:07 +0200)]
utvideodec: Convert to the new bitstream reader
Alexandra Hájková [Thu, 14 Apr 2016 08:59:22 +0000 (10:59 +0200)]
twinvq: Convert to the new bitstream reader
Alexandra Hájková [Thu, 14 Apr 2016 08:42:27 +0000 (10:42 +0200)]
tscc2: Convert to the new bitstream reader
Alexandra Hájková [Thu, 14 Apr 2016 08:32:31 +0000 (10:32 +0200)]
truespeech: Convert to the new bitstream reader
Alexandra Hájková [Sat, 23 Apr 2016 13:13:41 +0000 (15:13 +0200)]
tiertex: Convert to the new bitstream reader
Alexandra Hájková [Sat, 23 Apr 2016 13:11:27 +0000 (15:11 +0200)]
truemotion2: Convert to the new bitstream reader
Alexandra Hájková [Wed, 13 Apr 2016 18:25:22 +0000 (20:25 +0200)]
svq1dec: Convert to the new bitstream reader
Alexandra Hájková [Wed, 13 Apr 2016 17:56:53 +0000 (19:56 +0200)]
smacker: Convert to the new bitstream reader
Alexandra Hájková [Wed, 13 Apr 2016 17:49:21 +0000 (19:49 +0200)]
sipr: Convert to the new bitstream reader
Alexandra Hájková [Wed, 13 Apr 2016 17:41:09 +0000 (19:41 +0200)]
rtjpeg: Convert to the new bitstream reader
Alexandra Hájková [Wed, 13 Apr 2016 17:34:49 +0000 (19:34 +0200)]
ra288: Convert to the new bitstream reader
Alexandra Hájková [Wed, 13 Apr 2016 09:53:47 +0000 (11:53 +0200)]
ra144: Convert to the new bitstream reader
Martin Storsjö [Tue, 22 Nov 2016 11:52:55 +0000 (13:52 +0200)]
arm: vp9itxfm: Rename a macro parameter to fit better
Since the same parameter is used for both input and output,
the name inout is more fitting.
This matches the naming used below in the dmbutterfly macro.
Signed-off-by: Martin Storsjö <martin@martin.st>
Martin Storsjö [Tue, 22 Nov 2016 09:32:25 +0000 (11:32 +0200)]
arm/aarch64: vp9itxfm: Fix indentation of macro arguments
Signed-off-by: Martin Storsjö <martin@martin.st>
Ronald S. Bultje [Thu, 17 Nov 2016 22:17:02 +0000 (00:17 +0200)]
checkasm: vp9dsp: benchmark all sub-IDCTs (but not WHT or ADST).
Signed-off-by: Martin Storsjö <martin@martin.st>
Martin Storsjö [Fri, 18 Nov 2016 08:09:12 +0000 (10:09 +0200)]
Revert "checkasm: vp9dsp: Benchmark the dc-only version of idct_idct separately"
This reverts commit
81d7f0bbca837afda1f7e60d3ae52ab1360ab44b .
Instead of just benchmarking dc separately, test all relevant subparts
(in the next commit).
Signed-off-by: Martin Storsjö <martin@martin.st>
James Almer [Tue, 22 Nov 2016 20:50:28 +0000 (15:50 -0500)]
matroska: use av_stream_add_side_data() for stereo3d side data
Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
James Almer [Mon, 21 Nov 2016 23:54:29 +0000 (18:54 -0500)]
mov: Use av_stream_add_side_data() for displaymatrix side data
Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
James Almer [Tue, 22 Nov 2016 22:16:48 +0000 (17:16 -0500)]
utils: Add av_stream_add_side_data()
Functionally similar to av_packet_add_side_data(). Allows the use of an
already allocated buffer as stream side data.
Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Martin Storsjö [Tue, 21 May 2013 07:21:37 +0000 (10:21 +0300)]
fate.sh: Allow setting other make flags for running tests
If makeopts_fate is set, these makeopts are used for running the
tests instead of the normal makeopts. If it isn't set, the normal
makeopts variable is used as before.
This is useful if remote testing on a lesser machine where a large
number of parallel jobs might be undesireable, while wanting to speed
up the build with many parallel processes.
Signed-off-by: Martin Storsjö <martin@martin.st>
James Almer [Sat, 19 Nov 2016 18:33:58 +0000 (15:33 -0300)]
avpacket: fix leak on realloc in av_packet_add_side_data()
If realloc fails, the pointer is overwritten and the previously allocated buffer
is leaked, which goes against the expected functionality of keeping the packet
unchanged in case of error.
Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Anton Khirnov [Thu, 20 Oct 2016 09:03:20 +0000 (11:03 +0200)]
examples/decode_video: allocate the packet dynamically
AVPackets on stack are discouraged.
Anton Khirnov [Wed, 19 Oct 2016 19:56:22 +0000 (21:56 +0200)]
examples/decode_video: switch to the new decoding API
Anton Khirnov [Wed, 19 Oct 2016 19:56:22 +0000 (21:56 +0200)]
examples/decode_video: use a parser for splitting the input
Do not rely on the decoder handling this, as it's not guaranteed to
work.
Anton Khirnov [Thu, 20 Oct 2016 09:03:20 +0000 (11:03 +0200)]
examples/encode_video: allocate the packet dynamically
AVPackets on stack are discouraged.
Anton Khirnov [Thu, 20 Oct 2016 09:03:20 +0000 (11:03 +0200)]
examples/encode_video: switch to the new encoding API
Anton Khirnov [Wed, 19 Oct 2016 19:56:22 +0000 (21:56 +0200)]
examples/decode_audio: flush the decoder
Anton Khirnov [Wed, 19 Oct 2016 19:56:22 +0000 (21:56 +0200)]
examples/decode_audio: allocate the packet dynamically
AVPackets on stack are discouraged now.
Anton Khirnov [Wed, 19 Oct 2016 19:56:22 +0000 (21:56 +0200)]
examples/decode_audio: handle planar audio now produced by the MP2 decoder
Anton Khirnov [Wed, 19 Oct 2016 19:56:22 +0000 (21:56 +0200)]
examples/decode_audio: use the new audio decoding API
Anton Khirnov [Wed, 19 Oct 2016 19:56:22 +0000 (21:56 +0200)]
examples/decode_audio: use a parser for splitting the input
Do not rely on the decoder handling this, as it's not guaranteed to
work.
Anton Khirnov [Wed, 19 Oct 2016 19:33:52 +0000 (21:33 +0200)]
examples/encode_audio: switch to the new audio encoding API
Anton Khirnov [Wed, 12 Oct 2016 12:16:47 +0000 (14:16 +0200)]
examples/qsvdec: convert to the new decoding API
Anton Khirnov [Wed, 12 Oct 2016 11:14:17 +0000 (13:14 +0200)]
examples/qsvdec: switch to the hwcontext API
The code now does not depend on VA and will work on windows as well.
Andreas Cadhalpun [Mon, 14 Nov 2016 20:41:45 +0000 (21:41 +0100)]
libopusdec: default to stereo for invalid number of channels
This fixes an out-of-bounds read if avc->channels is 0.
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diego Biurrun [Fri, 11 Dec 2015 19:17:31 +0000 (20:17 +0100)]
dvbsub: cosmetics: Group all debug code together
Diego Biurrun [Fri, 11 Dec 2015 18:52:36 +0000 (19:52 +0100)]
dvbsub: Check for errors from system()
libavcodec/dvbsubdec.c:145:5: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result]
libavcodec/dvbsubdec.c:148:5: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result]
Diego Biurrun [Fri, 11 Dec 2015 20:08:48 +0000 (21:08 +0100)]
als: Restructure DEBUG ifdefs to avoid unused function parameter warnings
Diego Biurrun [Fri, 11 Dec 2015 19:46:56 +0000 (20:46 +0100)]
ac3enc: Restructure DEBUG ifdefs to avoid unused function parameter warnings
Diego Biurrun [Fri, 11 Dec 2015 11:26:19 +0000 (12:26 +0100)]
ape: Restructure DEBUG ifdefs to avoid unused function parameter warnings