Diego Biurrun
212c6a1d70
mjpegdec: Check return values of functions that may fail
8 years ago
Diego Biurrun
3ee5f25d37
dxva2: Adjust printf length modifiers where appropriate
8 years ago
Anton Khirnov
3fe2a01df7
lavc: move decoding-related code from utils.c to a new file
8 years ago
Anton Khirnov
328cd2b599
lavc: move encoding-related code from utils.c to a new file
8 years ago
James Almer
45d199d5b0
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>
8 years ago
Andreas Cadhalpun
1762a39e09
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>
8 years ago
Diego Biurrun
eb135516e6
ac3enc: Avoid unnecessary macro indirections
8 years ago
Diego Biurrun
f0d3e43bd7
ac3enc: Reshuffle functions to avoid forward declarations
8 years ago
Diego Biurrun
e22c63ac74
ac3enc: Reshuffle some float/fixed-mode ifdefs to avoid a dummy function
8 years ago
Anton Khirnov
4adbb44ad1
tta: avoid undefined shifts
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
8 years ago
Anton Khirnov
dc4b625028
tta: use get_unary() instead of a custom implementation
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
8 years ago
Martin Storsjö
2f99117f6f
aarch64: vp9itxfm: Don't repeatedly set x9 when nothing overwrites it
...
Signed-off-by: Martin Storsjö <martin@martin.st>
8 years ago
Alexandra Hájková
178b4ea5f9
xsubdec: Convert to the new bitstream reader
8 years ago
Alexandra Hájková
be35ef92a4
xan: Convert to the new bitstream reader
8 years ago
Alexandra Hájková
f9c59f26c8
wnv1: Convert to the new bitstream reader
8 years ago
Alexandra Hájková
0536e7d782
vima: Convert to the new bitstream reader
8 years ago
Alexandra Hájková
e5bdfc6790
vble: Convert to the new bitstream reader
8 years ago
Alexandra Hájková
104a4289f9
utvideodec: Convert to the new bitstream reader
8 years ago
Alexandra Hájková
85f760fedd
twinvq: Convert to the new bitstream reader
8 years ago
Alexandra Hájková
0bea79afa6
tscc2: Convert to the new bitstream reader
8 years ago
Alexandra Hájková
8e4cadea5d
truespeech: Convert to the new bitstream reader
8 years ago
Alexandra Hájková
0ac07d0b8d
tiertex: Convert to the new bitstream reader
8 years ago
Alexandra Hájková
9ab1a3e283
truemotion2: Convert to the new bitstream reader
8 years ago
Alexandra Hájková
9f78e3a46d
svq1dec: Convert to the new bitstream reader
8 years ago
Alexandra Hájková
6efbc88a5c
smacker: Convert to the new bitstream reader
8 years ago
Alexandra Hájková
087bc8d704
sipr: Convert to the new bitstream reader
8 years ago
Alexandra Hájková
f26cbb555b
rtjpeg: Convert to the new bitstream reader
8 years ago
Alexandra Hájková
c60cda7cb4
ra288: Convert to the new bitstream reader
8 years ago
Alexandra Hájková
7d8075cf47
ra144: Convert to the new bitstream reader
8 years ago
Martin Storsjö
79566ec8c7
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>
8 years ago
Martin Storsjö
721bc37522
arm/aarch64: vp9itxfm: Fix indentation of macro arguments
...
Signed-off-by: Martin Storsjö <martin@martin.st>
8 years ago
James Almer
aa498c3183
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>
8 years ago
Andreas Cadhalpun
f92d7bdfdd
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>
8 years ago
Diego Biurrun
b34c6cd57a
dvbsub: cosmetics: Group all debug code together
8 years ago
Diego Biurrun
b8cd7a3c8d
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]
8 years ago
Diego Biurrun
6427379f23
als: Restructure DEBUG ifdefs to avoid unused function parameter warnings
8 years ago
Diego Biurrun
367f95af55
ac3enc: Restructure DEBUG ifdefs to avoid unused function parameter warnings
8 years ago
Diego Biurrun
81a3c42abe
Drop some bogus Doxygen documentation.
8 years ago
Diego Biurrun
a1d9de304f
Fix some mismatches between function parameter and doxygen parameter names.
8 years ago
Martin Storsjö
4d960a1185
aarch64: vp9itxfm: Use w3 instead of x3 for the int eob parameter
...
The clobbering tests in checkasm are only invoked when testing
correctness, so this bug didn't show up when benchmarking the
dc-only version.
Signed-off-by: Martin Storsjö <martin@martin.st>
8 years ago
Janne Grunau
e5b0fc170f
arm: vp9itxfm: Simplify the stack alignment code
...
This is one instruction less for thumb, and only have got
1/2 arm/thumb specific instructions.
Signed-off-by: Martin Storsjö <martin@martin.st>
8 years ago
Alexandra Hájková
0b5a26e8bc
qdm2: Convert to the new bitstream reader
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years ago
Alexandra Hájková
0dabd329e8
qcelp: Convert to the new bitstream reader
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years ago
Alexandra Hájková
770406d1e8
pcx: Convert to the new bitstream reader
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years ago
Alexandra Hájková
b3441350fa
opus: Convert to the new bitstream reader
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years ago
Alexandra Hájková
6f94a64bd6
nellymoser: Convert to the new bitstream reader
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years ago
Alexandra Hájková
15d4dbfd4a
jvdec: Convert to the new bitstream reader
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years ago
Alexandra Hájková
1df549bfa2
hqx: Convert to the new bitstream header
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years ago
Alexandra Hájková
c5e01d9170
hq_hqa: Convert to the new bitstream reader
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years ago
Alexandra Hájková
b2c56301f9
gsm: Convert to the new bitstream reader
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years ago