Vittorio Giovara
edca1dd552
xcbgrab: Check av_strdup() allocation
...
Bug-Id: CID 1274038
2015-03-12 15:29:59 +00:00
Vittorio Giovara
17c45d4d05
libtheora: Check frame allocation
2015-03-12 15:29:59 +00:00
Vittorio Giovara
a72d93daa0
mpegvideo_enc: Check AVCodecContext allocation
2015-03-12 15:29:59 +00:00
Michael Niedermayer
27191b82de
avcodec/vp9: Fix undefined shifts in decode_frame_header()
...
Found-by: Clang -fsanitize=shift
Reported-by: Thierry Foucu <tfoucu@google.com >
Reviewed-by: "Ronald S. Bultje" <rsbultje@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2015-03-12 15:31:41 +01:00
Michael Niedermayer
b7cb8b3d43
avcodec/h264_mb: Fix undefined shifts
...
Found-by: Clang -fsanitize=shift
Reported-by: Thierry Foucu <tfoucu@google.com >
Reviewed-by: "Ronald S. Bultje" <rsbultje@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2015-03-12 15:16:46 +01:00
Rainer Hochecker
31816eae32
hevc: delay ff_thread_finish_setup for hwaccel
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2015-03-12 14:49:41 +01:00
Niels Möller
78c8922841
dca: Document the permuted order in the lfe_fir_64 and lfe_fir_128 tables
2015-03-12 13:28:42 +01:00
Michael Niedermayer
22af79a9c8
Merge commit 'b97f427fb56bdbf7de8e2d4b72d01114aa6eceda'
...
* commit 'b97f427fb56bdbf7de8e2d4b72d01114aa6eceda':
lavf: Explicitly convert types at function pointer assignment
Conflicts:
libavformat/avio.c
libavformat/aviobuf.c
libavformat/swfenc.c
See: a76a2ffe9d
and others
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2015-03-12 12:38:20 +01:00
Michael Niedermayer
7d63f10c37
Merge commit '9c8074050745184a61059ad56045ad711299e33d'
...
* commit '9c8074050745184a61059ad56045ad711299e33d':
configure: Mark qsv subsystem as not selectable on the command line
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2015-03-12 12:25:39 +01:00
Yayoi
d5232d4717
avfilter/colormatrix:add slice threading
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2015-03-12 03:45:42 +01:00
Michael Niedermayer
26d81b5703
avutil/buffer: Avoid moving the AVBufferRef to a new place in memory in av_buffer_make_writable()
...
This allows making a AVBufferRef writable without the need to
update all pointers to it
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2015-03-12 02:15:28 +01:00
Michael Niedermayer
35fad1e9c9
avutil/buffer: Avoid moving the AVBufferRef to a new place in memory in av_buffer_realloc()
...
This allows reallocating AVBufferRefs without the need to update
all pointers to it
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2015-03-12 02:15:28 +01:00
Michael Niedermayer
3bedc99723
Merge commit '67142a8c721c7916c9ad2eb439c14d567aeb88c1'
...
* commit '67142a8c721c7916c9ad2eb439c14d567aeb88c1':
roqvideoenc: set enc->avctx in roq_encode_init
See: cf82c426fa
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2015-03-12 00:32:03 +01:00
Michael Niedermayer
a277c545b2
Merge commit '72211a2af0470799c9611b9c1c7039ab14a34a0a'
...
* commit '72211a2af0470799c9611b9c1c7039ab14a34a0a':
asfenc: fix leaking asf->index_ptr on error
See: 2c8cff2be4
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2015-03-12 00:24:05 +01:00
Michael Niedermayer
e197dc04bb
Merge commit '212556cd2144659dc6b9d121ddb38cd272bd10ae'
...
* commit '212556cd2144659dc6b9d121ddb38cd272bd10ae':
qsv: Improve the log message of when initializing MFX_IMPL_HARDWARE{2, 3, 4}
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2015-03-12 00:15:58 +01:00
Diego Biurrun
b97f427fb5
lavf: Explicitly convert types at function pointer assignment
...
This fixes a number of "assignment from incompatible pointer type" warnings.
2015-03-11 23:53:13 +01:00
Diego Biurrun
9c80740507
configure: Mark qsv subsystem as not selectable on the command line
2015-03-11 23:40:41 +01:00
Michael Niedermayer
2ba0ef4b15
Merge commit '7a76c6c4df31d1ff65464ccf3171acd57ef004eb'
...
* commit '7a76c6c4df31d1ff65464ccf3171acd57ef004eb':
configure: Enable colored output for gcc 4.9+
Conflicts:
configure
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2015-03-11 20:38:08 +01:00
Michael Niedermayer
693b8f11d7
Merge commit 'bacc92b59bfa5d6a1f631e63e46fc1d2fb934e51'
...
* commit 'bacc92b59bfa5d6a1f631e63e46fc1d2fb934e51':
rtpdec_vp9: Drop extra sanity check for size of input packet
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2015-03-11 20:28:45 +01:00
Andreas Cadhalpun
67142a8c72
roqvideoenc: set enc->avctx in roq_encode_init
...
So far it is only set in roq_encode_frame, but it is used in
roq_encode_end to free the coded_frame. This currently segfaults if
roq_encode_frame is not called between roq_encode_init and
roq_encode_end.
CC:libav-stable@libav.org
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com >
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2015-03-11 20:28:13 +01:00
Andreas Cadhalpun
72211a2af0
asfenc: fix leaking asf->index_ptr on error
...
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com >
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2015-03-11 20:24:59 +01:00
Michael Niedermayer
2d37c57f3e
Merge commit 'fe99c52fa99e44961a09cd1324aefd492b797fc8'
...
* commit 'fe99c52fa99e44961a09cd1324aefd492b797fc8':
mp3: Properly use AVCodecContext API
Conflicts:
libavformat/mp3dec.c
See: 6ad42b3e15
See: b851bc20c6
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2015-03-11 20:21:16 +01:00
Michael Niedermayer
e48ff13ba7
Merge commit '9272c965d9559a90ee64d46aebd99c117e07f7a3'
...
* commit '9272c965d9559a90ee64d46aebd99c117e07f7a3':
matroskaenc: Fix type used for chapter timestamps
Conflicts:
libavformat/matroskaenc.c
See: a4cd057bc7
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2015-03-11 20:09:18 +01:00
Michael Niedermayer
f3a35e9d59
Merge commit 'dc2d0e06af459af9a7f91b65e0a3119acc4f1baa'
...
* commit 'dc2d0e06af459af9a7f91b65e0a3119acc4f1baa':
mlpdec: support TrueHD streams with an Atmos substream
See: 36bf549b27
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2015-03-11 19:59:06 +01:00
Michael Niedermayer
7cc63c4bbc
Merge commit 'f36f6a608b5b2c17f8876195c61621c8f8607cee'
...
* commit 'f36f6a608b5b2c17f8876195c61621c8f8607cee':
mlpdec: support major sync headers with optional extension blocks
See: ff34b2d6d3
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2015-03-11 19:51:48 +01:00
Yukinori Yamazoe
212556cd21
qsv: Improve the log message of when initializing MFX_IMPL_HARDWARE{2, 3, 4}
...
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2015-03-11 19:48:01 +01:00
Michael Niedermayer
fd4e17fcc2
avcodec/mpegvideo_motion: Fix undefined shifts in mpeg_motion_internal()
...
Found-by: Clang -fsanitize=shift
Reported-by: Thierry Foucu <tfoucu@google.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2015-03-11 19:12:38 +01:00
Vittorio Giovara
7a76c6c4df
configure: Enable colored output for gcc 4.9+
2015-03-11 18:01:36 +00:00
Vittorio Giovara
bacc92b59b
rtpdec_vp9: Drop extra sanity check for size of input packet
...
In this case len is always at least 1, since it is checked against
RTP_VP9_DESC_REQUIRED_SIZE + 1 and then it is reduced by
RTP_VP9_DESC_REQUIRED_SIZE before entering the has_pic_id check.
Bug-Id: CID 1270811
2015-03-11 18:01:25 +00:00
Vittorio Giovara
fe99c52fa9
mp3: Properly use AVCodecContext API
...
Rather than having an unitialized context on the stack, allocate it with
defaults and free it when unneeded.
CC: libav-stable@libav.org
2015-03-11 17:57:56 +00:00
Michael Niedermayer
c756b3fca2
avcodec/h264dsp_template: Fix undefined shift in biweight_h264_pixels and weight_h264_pixels
...
Found-by: Clang -fsanitize=shift
Reported-by: Thierry Foucu <tfoucu@google.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2015-03-11 18:57:36 +01:00
Vittorio Giovara
9272c965d9
matroskaenc: Fix type used for chapter timestamps
2015-03-11 17:56:51 +00:00
Michael Niedermayer
2391e46430
avcodec/mpegvideo: Fix undefined shift in ff_mpv_lowest_referenced_row()
...
Also moves the shift out of the inner loop
Found-by: Clang -fsanitize=shift
Reported-by: Thierry Foucu <tfoucu@google.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2015-03-11 17:59:59 +01:00
Michael Niedermayer
9b2a964cee
avcodec/vp8: Fix undefined shifts in vp8_mc_luma()
...
Found-by: Clang -fsanitize=shift
Reported-by: Thierry Foucu <tfoucu@google.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2015-03-11 16:55:07 +01:00
Michael Niedermayer
8617bc6ffa
avcodec/golomb: Fix undefined shifts in unsigned rice decoding code
...
Found-by: Clang -fsanitize=shift
Reported-by: Thierry Foucu <tfoucu@google.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2015-03-11 16:47:13 +01:00
Michael Niedermayer
8c7a0932ab
avcodec/amrnbde: Fix undefined shift in decode_pitch_vector()
...
This also simplifies the code
Found-by: Clang -fsanitize=shift
Reported-by: Thierry Foucu <tfoucu@google.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2015-03-11 16:29:40 +01:00
Hendrik Leppkes
dc2d0e06af
mlpdec: support TrueHD streams with an Atmos substream
...
The fourth substream is being discarded, since its not raw audio data,
but an encoded Atmos stream which needs a specialized decoder.
Fixes decoding of the true hd stream from Transformers\ -\ Age\ of\ Extinction\ 2014\ 1080P-003.mkv
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2015-03-11 16:06:40 +01:00
Hendrik Leppkes
f36f6a608b
mlpdec: support major sync headers with optional extension blocks
...
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2015-03-11 16:03:13 +01:00
Michael Niedermayer
fa74058dd3
swscale/utils: Fix undefined shift in initFilter()
...
Found-by: Clang -fsanitize=shift
Reported-by: Thierry Foucu <tfoucu@google.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2015-03-11 15:40:28 +01:00
Michael Niedermayer
bd4c4c868c
avcodec/wma: Fix undefined shift in ff_wma_run_level_decode()
...
Found-by: Clang -fsanitize=shift
Reported-by: Thierry Foucu <tfoucu@google.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2015-03-11 15:27:54 +01:00
Michael Niedermayer
e5dfa43619
avcodec/vc1_pred: Fix undefined shift in ff_vc1_pred_mv()
...
Found-by: Clang -fsanitize=shift
Reported-by: Thierry Foucu <tfoucu@google.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2015-03-11 13:16:47 +01:00
Michael Niedermayer
1932f7e2ee
avcodec/mpeg12dec: Fix undefined shift
...
Found-by: Clang -fsanitize=shift
Reported-by: Thierry Foucu <tfoucu@google.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2015-03-11 04:24:57 +01:00
Christophe Gisquet
2e5605f6fa
x86: Makefile: fix DBG parameter evaluation
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2015-03-11 01:54:07 +01:00
Florian Jacob
c5c4ca6bc8
lavf/libssh: support reading config from ~/.ssh/config
...
libssh provides a function for parsing ~/.ssh/config for ssh connection parameters like user, hostname, identity file
and port. This patch makes ffmpeg use this function to take parameters from the config file for everything that's not
explicitely set in the url. It also supports host aliases, i.e. using a shorthand in the url and replacing it with the
hostname / IP address specified for the shorthand in the config file.
Signed-off-by: Florian Jacob <projects+ffmpeg@florianjacob.de >
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com >
2015-03-11 01:34:37 +01:00
Michael Niedermayer
48df30d36c
avcodec/012v: redesign main loop
...
Fixes out of array accesses
Fixes: ffmpeg_012v_crash.ts
Found-by: Thomas Lindroth <thomas.lindroth@gmail.com >
Reviewed-by: Thomas Lindroth <thomas.lindroth@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2015-03-10 23:33:57 +01:00
Carl Eugen Hoyos
0637b59c2c
lavfi/boxblur: Fix colourpsace list.
...
Fixes ticket #4363 .
2015-03-10 22:55:30 +01:00
Michael Niedermayer
eb7960b2bd
avcodec/h264: Fix undefined shifts in pack16to32() and pack8to16()
...
Reported-by: Thierry Foucu <tfoucu@google.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2015-03-10 21:25:39 +01:00
Michael Niedermayer
111456682f
avcodec/mpegvideo: Fix undefined shifts in ff_init_block_index()
...
Reported-by: Thierry Foucu <tfoucu@google.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2015-03-10 21:25:33 +01:00
Michael Niedermayer
d3b25383da
avcodec/012v: Check dimensions more completely
...
Fixes division by 0
Found-by: Thomas Lindroth <thomas.lindroth@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2015-03-10 20:21:14 +01:00
Ole Andre Birkedal
c8372f8001
avfilter/aeval: Fixed a memory leak in EvalContext::channel_values
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2015-03-10 14:40:08 +01:00