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>
2016-08-19 03:05:52 +02:00
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>
2016-08-19 02:28:31 +02:00
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>
2016-08-18 23:36:18 +02:00
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>
2016-08-18 23:36:18 +02:00
Paul B Mahol
e2a39b103e
avfilter/avf_showvolume: use current peak value for picking colors
2016-08-18 20:14:58 +02:00
Paul B Mahol
b3c6e89d48
avfilter/avf_showspectrum: do not use uninitialized memory
2016-08-18 18:40:00 +02:00
Paul B Mahol
703ae350c2
avfilter/af_astats: fix flt(p) support
2016-08-18 15:30:05 +02:00
Paul B Mahol
81f7d07608
avfilter/af_astats: add support for s64(p) sample format
2016-08-18 15:30:05 +02:00
Paul B Mahol
fc600eff63
avcodec: add 64-bit signed pcm codec
2016-08-18 15:30:05 +02:00
Paul B Mahol
9876d8fc6d
swresample: add int64 sample format
2016-08-18 15:30:05 +02:00
Michael Niedermayer
30b2611ed3
swresample: Skip over dither steps if dithering scale is 0
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-08-18 11:52:11 +02:00
Michael Niedermayer
946acacdcd
swresample: move dither init up
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-08-18 11:50:14 +02:00
Carl Eugen Hoyos
f866f22c3f
lavf/pcmdec: Try to fix msvc compilation after 4c42d306
.
2016-08-18 09:45:25 +02:00
James Almer
bba6a03b28
examples/demuxing_decoding: convert to codecpar
...
Signed-off-by: James Almer <jamrial@gmail.com>
2016-08-17 19:17:04 -03:00
Marton Balint
b72a7b96f8
avformat: factorize iso 8601 timestamp writer to a dictionary avutil function
...
Signed-off-by: Marton Balint <cus@passwd.hu>
2016-08-17 23:45:41 +02:00
Carl Eugen Hoyos
a810126fd1
lavc/rscc: Fix colourspace for codec_tag RSCC and 32bpp.
2016-08-17 22:10:45 +02:00
Paul B Mahol
5ee5f4b13c
avfilter/avf_showfreqs: make minimum amplitude for log scaler configurable
2016-08-17 22:02:29 +02:00
Paul B Mahol
345c252e9c
avfilter/avf_showspectrum: unbreak dB legend
2016-08-17 22:02:29 +02:00
Stephen Hutchinson
f84cff8565
compat/avisynth: update AviSynth+ header
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-08-17 18:08:29 +02:00
Carl Eugen Hoyos
ec9d7047c4
ffmpeg: Do not set too large bits_per_raw_sample.
2016-08-17 18:08:16 +02:00
Carl Eugen Hoyos
4c42d30602
lavf/pcmdec: Map mime_type audio/L16 to the s16le demuxer.
...
Implements RFC 2586.
2016-08-17 18:07:24 +02:00
Clément Bœsch
fabff10244
lavf/version: fix belive/believe typo
2016-08-17 16:33:14 +02:00
Clément Bœsch
ffd71c9c5c
lavf: mark stream as const pointer in av_stream_get_side_data() for next bump
2016-08-17 16:32:09 +02:00
Clément Bœsch
b2016189db
lavf/utils: add some const to pointers parameters in a few functions
2016-08-17 16:17:42 +02:00
Clément Bœsch
2477775bf8
doc: add Libav merge document
2016-08-17 15:31:38 +02:00
Paul B Mahol
d299defbba
avfilter/Makefile & allfilters: sort entries
2016-08-17 13:37:39 +02:00
Paul B Mahol
ed8d7e7a9b
avfilter: add bitplanenoise filter
2016-08-17 13:24:28 +02:00
James Almer
f85842b09e
doc/APIChanges: fill in missing git hashes
...
Signed-off-by: James Almer <jamrial@gmail.com>
2016-08-16 23:23:50 -03:00
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>
2016-08-16 23:16:52 -03:00
Michael Niedermayer
0d98686fde
fate: Add RGB48 FFV1 test
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-08-16 23:14:11 +02:00
Michael Niedermayer
62f5e601aa
avcodec/ffv1enc: Add RGB48 support
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-08-16 23:06:02 +02:00
Michael Niedermayer
a95fdac4c6
avcodec/ffv1enc: do not offset null pointers
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-08-16 23:05:27 +02:00
Michael Niedermayer
b1d1250938
avcodec/ffv1: Fix rgb plane ordering in experimental planar RGB
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-08-16 23:04:00 +02:00
Michael Niedermayer
87da118898
avcodec/ffv1enc: Factor rice high depth check out
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-08-16 23:03:10 +02:00
Michael Niedermayer
ae0192ef5f
avformat/mov: Check extradata before access
...
Fixes NULL ptr dereference
Fixes Ticket5778
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-08-16 19:47:23 +02:00
Paul B Mahol
b438c2025c
avfilter/window_func: add cauchy, parzen and poisson window function
2016-08-16 18:09:50 +02:00
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>
2016-08-16 17:09:33 +02:00
Paul B Mahol
a2c40931c8
avfilter/vaf_spectrumsynth: check return code
2016-08-16 16:01:35 +02:00
Paul B Mahol
1457786d69
avfilter/avf_showspectrum: do not let multiple threads to write to same part of memory
2016-08-16 15:56:12 +02:00
Paul B Mahol
ea58dd2beb
avfilter/window_func: add dolph window
2016-08-16 15:56:12 +02:00
Jon Toohill
c3c4c72665
lavc: add trailing_padding to AVCodecContext to match AVCodecParameters.
...
Shows encoder delay/padding in the stream summary if they are set.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-08-16 12:30:37 +02:00
Paul B Mahol
3282e31baa
avfilter/vf_atadenoise: set default size value to 9
...
This is enough, bigger sizes do not produce better output in 99% cases.
2016-08-15 23:04:08 +02:00
Paul B Mahol
fc3eb173f4
avfilter/vf_atadenoise: add support for more pixel formats
2016-08-15 23:00:28 +02:00
Paul B Mahol
4f226714f5
avfilter/af_astats: add support for other sample formats
2016-08-15 22:01:16 +02:00
Jan Sebechlebsky
b746ed70ef
avcodec/bsf: Add list BSF API
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-08-15 14:03:46 +02:00
Paul B Mahol
0ea03dbbf9
avcodec/iff: remove palette swapping for anim
...
It appears it is wrong.
2016-08-15 13:21:47 +02:00
Paul B Mahol
ce5ba77079
avfilter/avf_showspectrum: add some multithreading support
2016-08-15 13:17:06 +02:00
Paul B Mahol
4899953a47
doc/filters: add yet another zoompan usage example
2016-08-15 09:59:40 +02:00
Paul B Mahol
ac18114b96
avfilter/vf_zoompan: fix pzoom usage
2016-08-15 09:55:36 +02:00
Ivan Uskov
b93e223315
libavcodec/qsvdec_h2645.c: switch to the new BSF API
...
This patch applies same changes as commit e3dfef8e3c
of libav:
instead of the obsolete AVBitStreamFilterContext now the new AVBSFContext filter is used to
restore annex-B prefixes.
Based-on: e3dfef8e3c
by Anton Khirnov
Push requested by maintainer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-08-15 02:48:53 +02:00