Michael Niedermayer
a31e08fa1a
avcodec/diracdec: Check numx/y
...
Fixes division by 0
Fixes: 60261c4469ba3e11059890fb2832a515/asan_generic_135e694_2790_beb94eaa0aeb7d11c0437375a8964a99.drc
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
James Almer
27ee70290e
avfilter/window_func: use a constant instead of acosh()
...
Should fix compilation with non C99 compilers like msvc 2012, where
acosh() is not available.
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
8 years ago
Roger Pack
18ce63a60e
avdevice/dshow: satisfy alloc contract better
...
prevent non-rgb24 crashes on windows 10 anniversary ed
Signed-off-by: Roger Pack <rogerpack2005@gmail.com>
8 years ago
James Almer
a8e3833a61
x86/avf_showcqt: use the FMULADD_PS x86util macro
...
Signed-off-by: James Almer <jamrial@gmail.com>
8 years ago
Michael Niedermayer
15dd56c093
avcodec/h2645_parse: fix nal size
...
Found-by: <durandal_1707>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Michael Niedermayer
528171ba84
avcodec/h2645_parse: Use get_nalsize() in ff_h2645_packet_split()
...
This fixes several regressions in h.264
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Michael Niedermayer
f10ea03df3
avcodec/h264_parser: Factor get_avc_nalsize() out
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Michael Niedermayer
b8b3671721
avcodec/cfhd: Increase minimum band dimension to 3
...
The implementation does not currently support len=2
Fixes out of array accesses
Fixes: 29d1b3db5ba2205e82b0b3a533e057a3/asan_heap-oob_12b650c_9254_3b8c4e4d931eb2c32841c18ebb297f1d.avi
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Paul B Mahol
0d8b6a15dd
avfilter/vf_histogram: make foreground and background opacity configurable
8 years ago
Michael Niedermayer
ca906e8190
avformat/movenc: Free extradata after successfull allocation of new instead of before
...
This avoids erroring out with extradata lost and extradata size mismatching
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Umair Khan
4f6f56114e
avformat/movenc: allow rewriting extradata
...
Signed-off-by: Umair Khan <omerjerk@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Michael Niedermayer
9ffe44c5c7
avcodec/indeo2: check ctab
...
Fixes out of array access
Fixes: 6b73fa392ac808f02e95a4e0a5770026/asan_static-oob_1b15f9a_1969_e7778535e5f27225fe0d6ded14721430.AVI
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Michael Niedermayer
a453bbb68f
avformat/swfdec: Fix inflate() error code check
...
Fixes infinite loop
Fixes endless.poc
Found-by: 连一汉 <lianyihan@360.cn>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Michael Niedermayer
2a3720bc22
avformat/swfdec: Move packet size check before side data allocation
...
Fixes memleak
Fixes: 9eb9cf5b8c26dd0fa7107ed0348dcc1f/signal_sigabrt_7ffff6ae7c37_8927_f14c2a6ae1ad0bbde2c94f1da50e7074.swf
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Michael Niedermayer
237207645b
avcodec/rawdec: Fix bits_per_coded_sample checks
...
Fixes assertion failure
Fixes: 9eb9cf5b8c26dd0fa7107ed0348dcc1f/signal_sigabrt_7ffff6ae7c37_8926_4609a5c3f071d555d2d557625f9687b1.swf
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Michael Niedermayer
382a68b008
vcodec/h2645_parse: Clear buffer padding
...
Fixes use of uninitialized memory
Fixes: 044100cb22845944988a4bd821ff8074/asan_heap-oob_329927a_1366_c3de34ce9217dac820fbb46171031bbb.jsv
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Michael Niedermayer
cc13bc8c4f
avcodec/h2645: Fix NAL unit padding
...
The parser changes have lost the support for the needed padding, this adds it back
Fixes out of array reads
Fixes: 03ea21d271abc8acf428d42ace51d8b4/asan_heap-oob_3358eef_5692_16f0cc01ab5225e9ce591659e5c20e35.mkv
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Paul B Mahol
e2a39b103e
avfilter/avf_showvolume: use current peak value for picking colors
8 years ago
Paul B Mahol
b3c6e89d48
avfilter/avf_showspectrum: do not use uninitialized memory
8 years ago
Paul B Mahol
703ae350c2
avfilter/af_astats: fix flt(p) support
8 years ago
Paul B Mahol
81f7d07608
avfilter/af_astats: add support for s64(p) sample format
8 years ago
Paul B Mahol
fc600eff63
avcodec: add 64-bit signed pcm codec
8 years ago
Paul B Mahol
9876d8fc6d
swresample: add int64 sample format
8 years ago
Michael Niedermayer
30b2611ed3
swresample: Skip over dither steps if dithering scale is 0
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Michael Niedermayer
946acacdcd
swresample: move dither init up
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Carl Eugen Hoyos
f866f22c3f
lavf/pcmdec: Try to fix msvc compilation after 4c42d306
.
8 years ago
James Almer
bba6a03b28
examples/demuxing_decoding: convert to codecpar
...
Signed-off-by: James Almer <jamrial@gmail.com>
8 years ago
Marton Balint
b72a7b96f8
avformat: factorize iso 8601 timestamp writer to a dictionary avutil function
...
Signed-off-by: Marton Balint <cus@passwd.hu>
8 years ago
Carl Eugen Hoyos
a810126fd1
lavc/rscc: Fix colourspace for codec_tag RSCC and 32bpp.
8 years ago
Paul B Mahol
5ee5f4b13c
avfilter/avf_showfreqs: make minimum amplitude for log scaler configurable
8 years ago
Paul B Mahol
345c252e9c
avfilter/avf_showspectrum: unbreak dB legend
8 years ago
Stephen Hutchinson
f84cff8565
compat/avisynth: update AviSynth+ header
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Carl Eugen Hoyos
ec9d7047c4
ffmpeg: Do not set too large bits_per_raw_sample.
8 years ago
Carl Eugen Hoyos
4c42d30602
lavf/pcmdec: Map mime_type audio/L16 to the s16le demuxer.
...
Implements RFC 2586.
8 years ago
Clément Bœsch
fabff10244
lavf/version: fix belive/believe typo
8 years ago
Clément Bœsch
ffd71c9c5c
lavf: mark stream as const pointer in av_stream_get_side_data() for next bump
8 years ago
Clément Bœsch
b2016189db
lavf/utils: add some const to pointers parameters in a few functions
8 years ago
Clément Bœsch
2477775bf8
doc: add Libav merge document
8 years ago
Paul B Mahol
d299defbba
avfilter/Makefile & allfilters: sort entries
8 years ago
Paul B Mahol
ed8d7e7a9b
avfilter: add bitplanenoise filter
8 years ago
James Almer
f85842b09e
doc/APIChanges: fill in missing git hashes
...
Signed-off-by: James Almer <jamrial@gmail.com>
8 years ago
Jan Sebechlebsky
9023a4a30c
doc/APIchanges: Document addition of list BSF API in lavc
...
Signed-off-by: Jan Sebechlebsky <sebechlebskyjan@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
8 years ago
Michael Niedermayer
0d98686fde
fate: Add RGB48 FFV1 test
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Michael Niedermayer
62f5e601aa
avcodec/ffv1enc: Add RGB48 support
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Michael Niedermayer
a95fdac4c6
avcodec/ffv1enc: do not offset null pointers
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Michael Niedermayer
b1d1250938
avcodec/ffv1: Fix rgb plane ordering in experimental planar RGB
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Michael Niedermayer
87da118898
avcodec/ffv1enc: Factor rice high depth check out
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Michael Niedermayer
ae0192ef5f
avformat/mov: Check extradata before access
...
Fixes NULL ptr dereference
Fixes Ticket5778
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Paul B Mahol
b438c2025c
avfilter/window_func: add cauchy, parzen and poisson window function
8 years ago
Jun Zhao
46bfc1562f
ffmpeg/qsv: fix QSV-accelerated transcode performance drop issue.
...
the merge commit 1b04ea1
"avconv: create simple filtergraphs earlier"
will init the filtergraphs earlier, then init the QSV transcode can't
suppose the nb_filters's value, else lead to the QSV transcode performance
drop.
Signed-off-by: Jun Zhao <mypopydev@gmail.com>
Reviewed-by: Ivan Uskov <ivan.uskov@nablet.com
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago