1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00
FFmpeg/libavutil
Mans Rullgard 019dd23657 Fix av_get_channel_layout_string() for positions >31
A value shifted left by >31 needs to have a 64-bit type.
As there are no defined channels in this range, the fix
is purely theoretical at this point, although it does
avoid some invalid shifts triggering the overflow
checker.

Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-11-25 15:19:55 +00:00
..
arm ARM: allow building in Thumb2 mode 2011-06-23 07:31:54 +01:00
avr32 Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
bfin Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
mips Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
ppc configure: Do not unconditionally add -D_POSIX_C_SOURCE to CPPFLAGS. 2011-05-12 11:41:59 +02:00
sh4 Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
tomi Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
x86 x86inc: use sse versions of common macros instead of sse2 when applicable 2011-11-06 19:14:13 -05:00
adler32.c adler32: whitespace cosmetics 2011-06-30 16:50:27 +01:00
adler32.h doxy: provide a start page and document libavutil 2011-11-22 17:16:02 +01:00
aes.c aes: Avoid illegal read and don't generate more key than we use. 2011-11-10 10:15:59 -08:00
aes.h doxy: provide a start page and document libavutil 2011-11-22 17:16:02 +01:00
attributes.h Add av_printf_format, for marking printf style format strings and their parameters 2011-06-23 20:17:44 +03:00
audioconvert.c Fix av_get_channel_layout_string() for positions >31 2011-11-25 15:19:55 +00:00
audioconvert.h Make channel layout masks unsigned 2011-11-25 13:19:54 +00:00
avassert.h multiple inclusion guard cleanup 2011-05-21 13:48:10 +02:00
avstring.c avstring: Add locale independent implementations of strcasecmp/strncasecmp 2011-11-06 11:52:56 +02:00
avstring.h doxy: provide a start page and document libavutil 2011-11-22 17:16:02 +01:00
avutil.h Make channel layout masks unsigned 2011-11-25 13:19:54 +00:00
base64.c Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
base64.h doxy: provide a start page and document libavutil 2011-11-22 17:16:02 +01:00
bswap.h bswap.h: Remove disabled code. 2011-04-29 20:01:04 +02:00
colorspace.h Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
common.h MK(BE)TAG: avoid undefined shifts 2011-11-25 00:20:03 +00:00
cpu.c x86: XOP/FMA4 CPU detection support 2011-09-26 15:30:31 -07:00
cpu.h x86: XOP/FMA4 CPU detection support 2011-09-26 15:30:31 -07:00
crc_data.h Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
crc.c crc: fix signed overflow 2011-10-09 16:53:31 +01:00
crc.h Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
des.c des: add possibility to calculate DES-CBC-MAC with small buffer 2011-09-21 08:28:20 +02:00
des.h des: add possibility to calculate DES-CBC-MAC with small buffer 2011-09-21 08:28:20 +02:00
dict.c Remove leftover includes of strings.h 2011-11-06 11:53:05 +02:00
dict.h doxy: provide a start page and document libavutil 2011-11-22 17:16:02 +01:00
error.c error: sort, pack, and align error code and string definitions 2011-04-21 16:48:29 +02:00
error.h doxy: provide a start page and document libavutil 2011-11-22 17:16:02 +01:00
eval.c eval: test isnan(sqrt(-1)) instead of just sqrt(-1) 2011-09-22 08:13:55 +02:00
eval.h lavu: remove FF_API_OLD_EVAL_NAMES cruft 2011-04-19 19:03:44 +02:00
fifo.c fifo: add FIFO API test program, and fate test 2011-08-26 20:54:36 +02:00
fifo.h doxygen: drop another pointless star from pointer variable name 2011-08-27 14:00:54 +02:00
file.c Do not include log.h in avutil.h 2011-07-03 21:42:07 +01:00
file.h doxygen: fix usage of @file directive in libavutil/{dict,file}.h 2011-07-01 15:12:33 +02:00
imgutils.c imgutils: Fix illegal read. 2011-11-18 17:42:49 -08:00
imgutils.h doxy: provide a start page and document libavutil 2011-11-22 17:16:02 +01:00
internal.h avutil: Don't allow using strcasecmp/strncasecmp 2011-11-06 11:52:59 +02:00
intfloat_readwrite.c intfloat_readwrite: fix signed addition overflows 2011-10-11 14:42:28 +01:00
intfloat_readwrite.h Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
intmath.h doxy: provide a start page and document libavutil 2011-11-22 17:16:02 +01:00
intreadwrite.h intreadwrite.h: fix AV_RL32/AV_RB32 signedness. 2011-06-16 20:49:19 +02:00
inverse.c inverse.c: Replace unnecessary intmath.h header by necessary stdint.h. 2011-06-07 10:31:26 +02:00
lfg.c Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
lfg.h doxygen: Drop array size declarations from Doxygen parameter names. 2011-07-03 18:30:02 +02:00
libavutil.v
libm.h Provide a fallback version of the libm function trunc 2011-04-21 14:13:09 +03:00
lls.c lls: use av_lfg instead of rand() in test program 2011-07-11 21:09:27 +01:00
lls.h Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
log.c Replace some forgotten FFmpeg references by Libav. 2011-11-02 10:42:55 +01:00
log.h log.h: make AVClass a named struct 2011-10-12 23:39:31 +02:00
lzo.c doxygen: Consistently use '@' instead of '\' for Doxygen markup. 2011-06-24 00:37:49 +02:00
lzo.h doxy: provide a start page and document libavutil 2011-11-22 17:16:02 +01:00
Makefile fifo: add FIFO API test program, and fate test 2011-08-26 20:54:36 +02:00
mathematics.c avutil: Remove unused arbitrary precision integer code. 2011-06-28 13:14:46 +02:00
mathematics.h doxy: provide a start page and document libavutil 2011-11-22 17:16:02 +01:00
md5.c md5: cosmetics 2011-07-03 18:19:19 +01:00
md5.h doxy: provide a start page and document libavutil 2011-11-22 17:16:02 +01:00
mem.c Increase alignment of av_malloc() as needed by AVX ASM. 2011-04-26 18:18:22 +02:00
mem.h doxy: provide a start page and document libavutil 2011-11-22 17:16:02 +01:00
opt.c AVOptions: don't return an invalid option when option list is empty 2011-11-11 08:27:16 +01:00
opt.h doxy: provide a start page and document libavutil 2011-11-22 17:16:02 +01:00
parseutils.c avutil: Add av_timegm as a public function 2011-11-16 11:22:41 +02:00
parseutils.h avutil: Add av_timegm as a public function 2011-11-16 11:22:41 +02:00
pixdesc.c swscale: fix failing fate tests. 2011-11-24 12:21:03 -08:00
pixdesc.h Clean up swscale pixfmt macros using av_pix_fmt_descriptors[]. 2011-11-24 08:24:55 -08:00
pixfmt.h pixfmt: add planar RGB formats. 2011-11-24 08:13:50 -08:00
random_seed.c random_seed: use proper #includes 2011-07-17 20:47:39 +01:00
random_seed.h doxy: provide a start page and document libavutil 2011-11-22 17:16:02 +01:00
rational.c rational-test: Add proper main() declaration to fix gcc warnings. 2011-06-30 01:35:47 +02:00
rational.h doxy: provide a start page and document libavutil 2011-11-22 17:16:02 +01:00
rc4.c Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
rc4.h doxygen: Consistently use '@' instead of '\' for Doxygen markup. 2011-06-24 00:37:49 +02:00
samplefmt.c libavutil: add utility functions to simplify allocation of audio buffers. 2011-11-23 18:39:28 -05:00
samplefmt.h libavutil: add utility functions to simplify allocation of audio buffers. 2011-11-23 18:39:28 -05:00
sha.c sha: use AV_RB32() instead of assuming buffer can be cast to uint32_t* 2011-07-04 11:16:52 +01:00
sha.h doxy: provide a start page and document libavutil 2011-11-22 17:16:02 +01:00
timer.h doxygen: do not include license boilerplate in Doxygen documentation 2011-07-15 00:52:09 +02:00
tree.c Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
tree.h doxy: provide a start page and document libavutil 2011-11-22 17:16:02 +01:00
utils.c lavc: deprecate FF_*_TYPE macros in favor of AV_PICTURE_TYPE_* enums 2011-04-26 08:38:57 +02:00
x86_cpu.h Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00