Diego Biurrun
4f81f8dba7
Drop unnecessary golomb.h #includes
9 years ago
Diego Biurrun
197ae68e78
Drop unnecessary unary.h #includes
9 years ago
Andreas Cadhalpun
2884cf205a
on2avc: limit number of bits to 30 in get_egolomb
...
More don't fit into the integer output.
Also use get_bits_long, since get_bits only supports reading up to 25
bits, while get_bits_long supports the full integer range.
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
9 years ago
Vittorio Giovara
def97856de
lavc: AV-prefix all codec capabilities
...
Express bitfields more simply.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
9 years ago
Vittorio Giovara
7c6eb0a1b7
lavc: AV-prefix all codec flags
...
Convert doxygen to multiline and express bitfields more simply.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
9 years ago
Vittorio Giovara
2d5176fad1
on2avc: Use the integer abs() version
...
Fixes clang warning "floating point absolute value function 'fabsf'
when argument is of integer type [-Wabsolute-value]".
10 years ago
Michael Niedermayer
cee4490b52
on2avc: check number of channels
...
Fixes invalid memory access.
CC: libav-stable@libav.org
Bug-ID: CVE-2014-8549
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Anton Khirnov <anton@khirnov.net>
10 years ago
Michael Niedermayer
2fa6d21124
on2avc: Fix out of array access
...
CC: libav-stable@libav.org
Bug-Id: CID 1206648
10 years ago
Diego Biurrun
f1df0a4c08
on2avc: Remove pointless dsputil.h #include
11 years ago
Kostya Shishkov
e2834567d7
On2 AVC decoder
11 years ago