孙浩 and 张洪亮(望初)
7e80b63ecd
avformat/cinedec: Fix DoS due to lack of eof check
...
Fixes: loop.cine
Found-by: Xiaohei and Wangchu from Alibaba Security Team
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
7 years ago
James Almer
d688f39dc4
cosmetics: fix some misspelled words
...
Signed-off-by: James Almer <jamrial@gmail.com>
8 years ago
Ganesh Ajjanagadde
47af5db721
all: fix enum definition for large values
...
ISO C restricts enumerator values to the range of int. Thus (for instance) 0x80000000
unfortunately does not work, and throws a warning with -Wpedantic on
clang 3.7.
This fixes it by using alternative expressions that result in identical
values but do not have this issue.
Tested with FATE.
Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com>
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
9 years ago
Peter Ross
2093c1dc51
cinedec: report white balance gain coefficients using metadata
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Carl Eugen Hoyos
b6e8f10bcb
lavf/cinedec: Fix a typo in the file header.
10 years ago
Ben Hagen
c9a5497a0b
avformat/cinedec: allow number zero in metadata
10 years ago
Ben Hagen
6928ea7eb0
cinedec: add shutter and crop metadata
10 years ago
Reimar Döffinger
a0941c8a2b
Use new av_dict_set_int helper function.
...
Get rid of the many, slightly differing, implementations
of basically the same thing.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
10 years ago
Michael Niedermayer
1fec720afa
avformat/cinedec: ask for sample when biBitCount isnt supported
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
47b03415f3
avformat/cinedec: remove redundant zero termination
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
49579c9637
avformat/cinedec: fix sizeof()
...
Fixes CID1197047
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Peter Ross
40f88796c6
Phantom Cine demuxer (iteration 2014.3)
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago