]> git.sesse.net Git - ffmpeg/log
ffmpeg
8 years agoMerge commit '84c4714f397c9c50eb9d49008cc1c08385f68f31'
Derek Buitenhuis [Thu, 28 Jan 2016 14:21:33 +0000 (14:21 +0000)]
Merge commit '84c4714f397c9c50eb9d49008cc1c08385f68f31'

* commit '84c4714f397c9c50eb9d49008cc1c08385f68f31':
  lavc: Move brd_scale to codec private options

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8 years agoavcodec: add dvaudio parser
Paul B Mahol [Wed, 27 Jan 2016 13:37:09 +0000 (14:37 +0100)]
avcodec: add dvaudio parser

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agolavc/mjpegdec: use ptrdiff_t instead of ssize_t
Matthieu Bouron [Wed, 27 Jan 2016 20:59:14 +0000 (21:59 +0100)]
lavc/mjpegdec: use ptrdiff_t instead of ssize_t

Fixes build on msvc.

8 years agoavcodec/h264: Fix memleak in case of ff_h264_decode_extradata() failure
Michael Niedermayer [Thu, 28 Jan 2016 02:18:20 +0000 (03:18 +0100)]
avcodec/h264: Fix memleak in case of ff_h264_decode_extradata() failure

Fixes Ticket5139

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoqsvenc: Fix b_strategy typo
Derek Buitenhuis [Wed, 27 Jan 2016 23:49:41 +0000 (23:49 +0000)]
qsvenc: Fix b_strategy typo

This was introduced in 0e6c8532215790bbe560a9eea4f3cc82bb55cf92.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8 years agoFATE: update AAC encoder PNS test target
Rostislav Pehlivanov [Wed, 27 Jan 2016 23:55:24 +0000 (23:55 +0000)]
FATE: update AAC encoder PNS test target

Test target hasn't been updated with the latest changes.

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
8 years agolibavcodec/util: Fix timebase overflow check
Derek Buitenhuis [Wed, 27 Jan 2016 21:12:04 +0000 (21:12 +0000)]
libavcodec/util: Fix timebase overflow check

It could accidentally divide by zero if num was zero.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8 years agoconfigure: fix openssl pkg-config check
James Almer [Wed, 27 Jan 2016 20:56:35 +0000 (17:56 -0300)]
configure: fix openssl pkg-config check

Signed-off-by: James Almer <jamrial@gmail.com>
8 years agoconfigure: Revert recent changes to disable-everything
Derek Buitenhuis [Wed, 27 Jan 2016 20:32:12 +0000 (20:32 +0000)]
configure: Revert recent changes to disable-everything

These will be re-merged once it's been fixed properly.

This reverts:
 * Commit '8e7bea6dc6ac5b21484774a026847bec0771ab62'
   configure: Improve requesting specific features
 * Commit 'e93aa2c9e7b3599aee6a5820760fc1a2c629dea0'
   configure: Force-enable select_any dependencies only on --enable

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8 years agoavcodec/version: Add missing #endif
Derek Buitenhuis [Wed, 27 Jan 2016 20:27:25 +0000 (20:27 +0000)]
avcodec/version: Add missing #endif

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8 years agoMerge commit '0e6c8532215790bbe560a9eea4f3cc82bb55cf92'
Derek Buitenhuis [Wed, 27 Jan 2016 20:18:04 +0000 (20:18 +0000)]
Merge commit '0e6c8532215790bbe560a9eea4f3cc82bb55cf92'

* commit '0e6c8532215790bbe560a9eea4f3cc82bb55cf92'
  lavc: Move b_frame_strategy and b_sensitivity to codec private options

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8 years agoMerge commit '55c7e5bf7c8d368c9bc60a219b04849ec9f4c84c'
Derek Buitenhuis [Wed, 27 Jan 2016 20:09:11 +0000 (20:09 +0000)]
Merge commit '55c7e5bf7c8d368c9bc60a219b04849ec9f4c84c'

This is a NOOP.

* commit '55c7e5bf7c8d368c9bc60a219b04849ec9f4c84c':
  riff: add C210 FourCC (Canopus C210)
  riff: add YUYV FourCC (Drastic YUYV)

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8 years agoMerge commit 'd43a165bda0eae95f4c7a168c7d13d94966c1a09'
Derek Buitenhuis [Wed, 27 Jan 2016 20:06:01 +0000 (20:06 +0000)]
Merge commit 'd43a165bda0eae95f4c7a168c7d13d94966c1a09'

* commit 'd43a165bda0eae95f4c7a168c7d13d94966c1a09':
  imgconvert: Add the proper API guards to a deprecated function

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8 years agoMerge commit 'f7168d7016f7d1034ec90223fa91a90711704e11'
Derek Buitenhuis [Wed, 27 Jan 2016 20:02:01 +0000 (20:02 +0000)]
Merge commit 'f7168d7016f7d1034ec90223fa91a90711704e11'

* commit 'f7168d7016f7d1034ec90223fa91a90711704e11':
  imgconvert: Move AVPicture-related static function to the deprecated section

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8 years agoMerge commit '892f037c55d86ce36f8705fbeab052189312a13e'
Derek Buitenhuis [Wed, 27 Jan 2016 19:58:35 +0000 (19:58 +0000)]
Merge commit '892f037c55d86ce36f8705fbeab052189312a13e'

* commit '892f037c55d86ce36f8705fbeab052189312a13e':
  imgconvert: Move the shrink functions only where needed

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8 years agoMerge commit '9d3ea5cbf57e30bf2717a9ce64e858dad8a02aa6'
Derek Buitenhuis [Wed, 27 Jan 2016 19:56:44 +0000 (19:56 +0000)]
Merge commit '9d3ea5cbf57e30bf2717a9ce64e858dad8a02aa6'

* commit '9d3ea5cbf57e30bf2717a9ce64e858dad8a02aa6':
  imgconvert: Drop outdated comment block

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8 years agoMerge commit 'e93aa2c9e7b3599aee6a5820760fc1a2c629dea0'
Derek Buitenhuis [Wed, 27 Jan 2016 19:52:48 +0000 (19:52 +0000)]
Merge commit 'e93aa2c9e7b3599aee6a5820760fc1a2c629dea0'

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8 years agoMerge commit '65d29dd274a302131e2e4bc6d2b1eca4a093900c'
Derek Buitenhuis [Wed, 27 Jan 2016 19:51:54 +0000 (19:51 +0000)]
Merge commit '65d29dd274a302131e2e4bc6d2b1eca4a093900c'

This is a NOOP.

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8 years agoMerge commit '883ad2c59ceea1ced5495b5ccc83695ed4bbb94b'
Derek Buitenhuis [Wed, 27 Jan 2016 19:49:16 +0000 (19:49 +0000)]
Merge commit '883ad2c59ceea1ced5495b5ccc83695ed4bbb94b'

This is a NOOP.

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8 years agoMerge commit '8e7bea6dc6ac5b21484774a026847bec0771ab62'
Derek Buitenhuis [Wed, 27 Jan 2016 19:48:09 +0000 (19:48 +0000)]
Merge commit '8e7bea6dc6ac5b21484774a026847bec0771ab62'

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8 years agoMerge commit 'e9175634ec96e36873929637491189150cfce9ec'
Derek Buitenhuis [Wed, 27 Jan 2016 19:41:36 +0000 (19:41 +0000)]
Merge commit 'e9175634ec96e36873929637491189150cfce9ec'

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8 years agoMerge commit '472d488ebcc53bea4cdb124edb94558e72d8f23f'
Derek Buitenhuis [Wed, 27 Jan 2016 19:40:50 +0000 (19:40 +0000)]
Merge commit '472d488ebcc53bea4cdb124edb94558e72d8f23f'

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8 years agoMerge commit '7486418683bd2477772e03aab573cf846c12fb0d'
Derek Buitenhuis [Wed, 27 Jan 2016 19:39:52 +0000 (19:39 +0000)]
Merge commit '7486418683bd2477772e03aab573cf846c12fb0d'

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8 years agoMerge commit 'e59708bb9d94f67381f19344b5e021591eb711bf'
Derek Buitenhuis [Wed, 27 Jan 2016 19:33:32 +0000 (19:33 +0000)]
Merge commit 'e59708bb9d94f67381f19344b5e021591eb711bf'

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8 years agoMerge commit 'c4de754d4dac5ddae4d5a6f02798c0f560771921'
Derek Buitenhuis [Wed, 27 Jan 2016 19:32:39 +0000 (19:32 +0000)]
Merge commit 'c4de754d4dac5ddae4d5a6f02798c0f560771921'

This is a NOOP.

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8 years agoMerge commit '8fd361f53b3c17c1ae13a39e030c8fa3ab4d8f1f'
Derek Buitenhuis [Wed, 27 Jan 2016 19:30:08 +0000 (19:30 +0000)]
Merge commit '8fd361f53b3c17c1ae13a39e030c8fa3ab4d8f1f'

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8 years agolavc/mjpegdec: speed up scan data copy
Matthieu Bouron [Tue, 26 Jan 2016 16:15:37 +0000 (17:15 +0100)]
lavc/mjpegdec: speed up scan data copy

8 years agoMerge commit 'e4eb13ca77624401ea7cef1ed6ad8e2d13fd2063'
Derek Buitenhuis [Wed, 27 Jan 2016 18:32:28 +0000 (18:32 +0000)]
Merge commit 'e4eb13ca77624401ea7cef1ed6ad8e2d13fd2063'

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8 years agoMerge commit '09f4822e4eaf61513b9092414450f3ae920ccd9d'
Derek Buitenhuis [Wed, 27 Jan 2016 18:29:21 +0000 (18:29 +0000)]
Merge commit '09f4822e4eaf61513b9092414450f3ae920ccd9d'

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8 years agoMerge commit '03ef89faf23c4851848208c9fe004cd9ef690cec'
Derek Buitenhuis [Wed, 27 Jan 2016 18:27:19 +0000 (18:27 +0000)]
Merge commit '03ef89faf23c4851848208c9fe004cd9ef690cec'

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8 years agoMerge commit '4f22b138886e29f7fffa8c715673951e51be9f32'
Derek Buitenhuis [Wed, 27 Jan 2016 18:23:31 +0000 (18:23 +0000)]
Merge commit '4f22b138886e29f7fffa8c715673951e51be9f32'

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8 years agoMerge commit 'b06cb15b9d7928bf54b639c9f9f7658c2c38bfb9'
Derek Buitenhuis [Wed, 27 Jan 2016 18:21:20 +0000 (18:21 +0000)]
Merge commit 'b06cb15b9d7928bf54b639c9f9f7658c2c38bfb9'

One big NOOP.

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8 years agoMerge commit 'c59fec783d6540dd96540b079d753ee4a6ad2e58'
Derek Buitenhuis [Wed, 27 Jan 2016 17:45:50 +0000 (17:45 +0000)]
Merge commit 'c59fec783d6540dd96540b079d753ee4a6ad2e58'

This is a NOOP.

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8 years agoMerge commit '39571e86cb0d55536f649210a025c54e440c632b'
Derek Buitenhuis [Wed, 27 Jan 2016 17:20:21 +0000 (17:20 +0000)]
Merge commit '39571e86cb0d55536f649210a025c54e440c632b'

This is a NOOP.

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8 years agoMerge commit '9cce011b1d2f66366f5d75a024c2a2f93dc2b589'
Derek Buitenhuis [Wed, 27 Jan 2016 16:57:24 +0000 (16:57 +0000)]
Merge commit '9cce011b1d2f66366f5d75a024c2a2f93dc2b589'

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8 years agoMerge commit '521dc78366c6ea54b7b69426dab302a57231f81e'
Derek Buitenhuis [Wed, 27 Jan 2016 16:56:22 +0000 (16:56 +0000)]
Merge commit '521dc78366c6ea54b7b69426dab302a57231f81e'

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8 years agoMerge commit 'fa66237b69c27befa788b100e73783e0f47fe1b7'
Derek Buitenhuis [Wed, 27 Jan 2016 16:54:57 +0000 (16:54 +0000)]
Merge commit 'fa66237b69c27befa788b100e73783e0f47fe1b7'

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8 years agoMerge commit '62825236dba31a2240e25974a3ba41c1303e4edc'
Derek Buitenhuis [Wed, 27 Jan 2016 16:53:23 +0000 (16:53 +0000)]
Merge commit '62825236dba31a2240e25974a3ba41c1303e4edc'

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8 years agoMerge commit '81737f42c28858dad76a40284a35f7a64faa2fc7'
Derek Buitenhuis [Wed, 27 Jan 2016 16:48:47 +0000 (16:48 +0000)]
Merge commit '81737f42c28858dad76a40284a35f7a64faa2fc7'

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8 years agoMerge commit '46350db737a15910f468d30cf7beda16a4cc8332'
Derek Buitenhuis [Wed, 27 Jan 2016 16:47:46 +0000 (16:47 +0000)]
Merge commit '46350db737a15910f468d30cf7beda16a4cc8332'

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8 years agoMerge commit 'e8bc642202c10beda1ea4e93ec8492b1e39805e5'
Derek Buitenhuis [Wed, 27 Jan 2016 16:46:11 +0000 (16:46 +0000)]
Merge commit 'e8bc642202c10beda1ea4e93ec8492b1e39805e5'

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8 years agoavutil: Rename FF_CEIL_COMPAT to AV_CEIL_COMPAT
Derek Buitenhuis [Wed, 27 Jan 2016 15:19:38 +0000 (15:19 +0000)]
avutil: Rename FF_CEIL_COMPAT to AV_CEIL_COMPAT

Libav, for some reason, merged this as a public API function. This will
aid in future merges.

A define is left for backwards compat, just in case some person
used it, since it is in a public header.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8 years agoavcodec/jpeg2000dec: More completely check cdef
Michael Niedermayer [Wed, 27 Jan 2016 16:13:10 +0000 (17:13 +0100)]
avcodec/jpeg2000dec: More completely check cdef

Fixes out of array read
Fixes: j2k-poc.bin
Found-by: Lucas Leong <wmliang.tw@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavcodec/dvaudiodec: support cases when codec_tag is not set but block_align is
Paul B Mahol [Wed, 27 Jan 2016 12:58:25 +0000 (13:58 +0100)]
avcodec/dvaudiodec: support cases when codec_tag is not set but block_align is

Support packets larger than block size, return single block size.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agoavcodec/dvaudiodec: set channel layout
Paul B Mahol [Wed, 27 Jan 2016 10:19:58 +0000 (11:19 +0100)]
avcodec/dvaudiodec: set channel layout

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agoavfilter/af_afade: do not duplicate curve option
Paul B Mahol [Tue, 26 Jan 2016 22:27:04 +0000 (23:27 +0100)]
avfilter/af_afade: do not duplicate curve option

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agolavc/mjpegdec: Set SAR even if no resolution is available.
Carl Eugen Hoyos [Wed, 27 Jan 2016 09:23:37 +0000 (10:23 +0100)]
lavc/mjpegdec: Set SAR even if no resolution is available.

Fixes ticket #4479.

8 years agolavc/h264: Show "Increasing reorder buffer" message with loglevel info.
Carl Eugen Hoyos [Wed, 27 Jan 2016 09:11:46 +0000 (10:11 +0100)]
lavc/h264: Show "Increasing reorder buffer" message with loglevel info.

See ticket #5138 for a sample.

8 years agoavformat/mux: Fix error when writing uncoded frames.
Matt Oliver [Wed, 27 Jan 2016 06:16:43 +0000 (17:16 +1100)]
avformat/mux: Fix error when writing uncoded frames.

commit "avpacket: Deprecate av_dup_packet" broke the use
av_interleaved_write_uncoded_frame as any input uncoded frame has an
invalid packet size that will crash when av_packet_ref tries to allocate
'size' new memory. Since the packet is a temporary created within mux.c
itself it can be used directly without needing a new ref.

Signed-off-by: Matt Oliver <protogonoi@gmail.com>
8 years agosvq1enc: fix out of bounds reads
Andreas Cadhalpun [Thu, 21 Jan 2016 21:36:36 +0000 (22:36 +0100)]
svq1enc: fix out of bounds reads

level can be 5, but there are only four codebooks.

Fixes ubsan runtime error: index 5 out of bounds for type 'int8_t
[4][96]'

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
8 years agoavcodec/dvaudiodec: only stereo makes sense
Paul B Mahol [Tue, 26 Jan 2016 22:33:55 +0000 (23:33 +0100)]
avcodec/dvaudiodec: only stereo makes sense

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agoavcodec: add Ulead DV audio decoder
Paul B Mahol [Mon, 25 Jan 2016 20:54:17 +0000 (21:54 +0100)]
avcodec: add Ulead DV audio decoder

Fixes #1564.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agoavfilter/vf_zscale: make it possible to override input frame parameters
Paul B Mahol [Tue, 26 Jan 2016 22:07:07 +0000 (23:07 +0100)]
avfilter/vf_zscale: make it possible to override input frame parameters

Mostly useful when there is no such parameters present at all.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agoavformat/flvenc: copyts in FLV muxer
Ivan [Mon, 25 Jan 2016 12:43:40 +0000 (14:43 +0200)]
avformat/flvenc: copyts in FLV muxer

The purpose of this patch is to preserve timestamps when using ffmpeg for publishing RTMP streams, e.g. ffmpeg -i rtmp://source/stream -f flv rtmp://target/stream.
There is a setting "copyts" for that purpose. Unfortunately it doesn't work with FLV muxer because it has its own timestamp correction which makes global setting "copyts" ineffective.

This patch removes timestamp correction in FLV muxer. This means FLV will rely on ffmpeg timestamp correction which makes it possible to use copyts.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoffmpeg_opt: Allow -metadata option to set metadata on programs.
Vittorio Gambaletta (VittGam) [Tue, 26 Jan 2016 14:13:09 +0000 (15:13 +0100)]
ffmpeg_opt: Allow -metadata option to set metadata on programs.

Signed-off-by: Vittorio Gambaletta <ffmpeg-dev@vittgam.net>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoffmpeg_opt: Move the 'process manually set programs' block above 'process manually...
Vittorio Gambaletta (VittGam) [Tue, 26 Jan 2016 14:13:08 +0000 (15:13 +0100)]
ffmpeg_opt: Move the 'process manually set programs' block above 'process manually set metadata' in open_output_file().

Signed-off-by: Vittorio Gambaletta <ffmpeg-dev@vittgam.net>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavutil/opt: check for and handle errors in av_opt_set_dict2()
Michael Niedermayer [Sun, 24 Jan 2016 02:42:46 +0000 (03:42 +0100)]
avutil/opt: check for and handle errors in av_opt_set_dict2()

Previously errors could result in random entries to be lost.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoswscale: add P010 input support
Hendrik Leppkes [Tue, 8 Dec 2015 10:53:54 +0000 (11:53 +0100)]
swscale: add P010 input support

8 years agoavutil: add P010 pixel format
Hendrik Leppkes [Tue, 8 Dec 2015 10:17:01 +0000 (11:17 +0100)]
avutil: add P010 pixel format

P010 is the 10-bit variant of NV12 (planar luma, packed chroma), using two
bytes per component to store 10-bit data plus 6-bit zeroes in the LSBs.

8 years agovf_libopencv: add support for opencv 3
Andreas Cadhalpun [Thu, 21 Jan 2016 22:17:47 +0000 (23:17 +0100)]
vf_libopencv: add support for opencv 3

It dropped the old headers, but the replacements are already available
with opencv 2.

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
8 years agolavc/libzvbi-teletextdec: add support for setting background opacity
Marton Balint [Thu, 21 Jan 2016 22:57:50 +0000 (23:57 +0100)]
lavc/libzvbi-teletextdec: add support for setting background opacity

Signed-off-by: Marton Balint <cus@passwd.hu>
8 years agolavc/libzvbi-teletextdec: remove cmax variable
Marton Balint [Thu, 21 Jan 2016 21:50:46 +0000 (22:50 +0100)]
lavc/libzvbi-teletextdec: remove cmax variable

Use VBI_NB_COLORS instead.

Signed-off-by: Marton Balint <cus@passwd.hu>
8 years agolavc/libzvbi-teletextdec: use the built-in transparent color for transparent background
Marton Balint [Thu, 21 Jan 2016 21:49:12 +0000 (22:49 +0100)]
lavc/libzvbi-teletextdec: use the built-in transparent color for transparent background

Signed-off-by: Marton Balint <cus@passwd.hu>
8 years agobuild: use a link instead of changing current directory when compiling
Andreas Cadhalpun [Mon, 25 Jan 2016 00:42:23 +0000 (01:42 +0100)]
build: use a link instead of changing current directory when compiling

If links don't work, fall back to using the full source path as was
previously done.

This should fix build failures with MSVC.

Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
8 years agoavformat/mpegtsenc: Fix multi program so that it supports adding the same stream...
Vittorio Gambaletta (VittGam) [Sun, 24 Jan 2016 05:06:36 +0000 (06:06 +0100)]
avformat/mpegtsenc: Fix multi program so that it supports adding the same stream to multiple programs.

Signed-off-by: Vittorio Gambaletta <ffmpeg-dev@vittgam.net>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agolavc/rawdec: Use 16-byte line alignment for AV_PIX_FMT_MONOWHITE
Mats Peterson [Mon, 25 Jan 2016 17:09:18 +0000 (18:09 +0100)]
lavc/rawdec: Use 16-byte line alignment for AV_PIX_FMT_MONOWHITE

The line alignment for 1 bpp raw AV_PIX_FMT_MONOWHITE video (currently
used for AVI) was previously 4 bytes, which generated alignment warning
messages, not only for odd-width files. The alignment is now 16 bytes.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavcodec/synth_filter: split off remaining code from dcadec files
James Almer [Mon, 25 Jan 2016 02:52:19 +0000 (23:52 -0300)]
avcodec/synth_filter: split off remaining code from dcadec files

Signed-off-by: James Almer <jamrial@gmail.com>
8 years agoavcodec/dcaenc: do not change user requested bitrate
Paul B Mahol [Mon, 25 Jan 2016 15:54:53 +0000 (16:54 +0100)]
avcodec/dcaenc: do not change user requested bitrate

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agoavcodec/dcaenc: return correct number of bytes in output packet
Paul B Mahol [Mon, 25 Jan 2016 15:03:17 +0000 (16:03 +0100)]
avcodec/dcaenc: return correct number of bytes in output packet

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agoavcodec/utils: run ff_frame_thread_encoder_init() only for encoders
Michael Niedermayer [Mon, 25 Jan 2016 15:06:03 +0000 (16:06 +0100)]
avcodec/utils: run ff_frame_thread_encoder_init() only for encoders

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavcodec/rawdec: Check height and packet size
Michael Niedermayer [Mon, 25 Jan 2016 02:42:45 +0000 (03:42 +0100)]
avcodec/rawdec: Check height and packet size

Avoids potential division by 0

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agolavc/rawdec: Use 16-byte line alignment for 1, 2, 4 and 8 bpp
Mats Peterson [Mon, 25 Jan 2016 02:59:49 +0000 (03:59 +0100)]
lavc/rawdec: Use 16-byte line alignment for 1, 2, 4 and 8 bpp

This patch aligns the lines of 1 bpp depth for QuickTime, and 2, 4 and 8
bpp depths for AVI and QuickTime, on 16-byte boundaries. At the same
time, the packet row stride is properly catered for.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavcodec/rawdec: initialize palette for mono
Mats Peterson [Tue, 19 Jan 2016 17:48:06 +0000 (18:48 +0100)]
avcodec/rawdec: initialize palette for mono

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavcodec/webp: fix decoder dependencies
James Almer [Sun, 24 Jan 2016 23:30:33 +0000 (20:30 -0300)]
avcodec/webp: fix decoder dependencies

Signed-off-by: James Almer <jamrial@gmail.com>
8 years agoavformat/hls: Check that filename is not "" in probe before checking its extension
Michael Niedermayer [Sun, 24 Jan 2016 19:07:48 +0000 (20:07 +0100)]
avformat/hls: Check that filename is not "" in probe before checking its extension

Possibly the check as a whole causes more problems than it helps, if so dont
hesitate to remove it

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavcodec/flacenc: fix calculation of bits required in case of custom sample rate
Paul B Mahol [Sun, 24 Jan 2016 19:47:49 +0000 (20:47 +0100)]
avcodec/flacenc: fix calculation of bits required in case of custom sample rate

Sample rate of 11025 takes 16 bits but previous code would pick only 8.
Fixes assertion failure.

Reviewed-by: Rostislav Pehlivanov <atomnuker@gmail.com>
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agoRevert "decklink: Header cleanup"
Timothy Gu [Sun, 24 Jan 2016 20:42:39 +0000 (12:42 -0800)]
Revert "decklink: Header cleanup"

This reverts commit 61fb70c3866b19dccf473ad4e5ede79d117e8e1c.

Reported in #5183 to break the build. Further investigation needed.

8 years agoavfilter/vf_zoompan: fix pts handling
Paul B Mahol [Sun, 24 Jan 2016 18:57:56 +0000 (19:57 +0100)]
avfilter/vf_zoompan: fix pts handling

Now output pts have some sense.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agoavfilter/vf_zoompan: unbreak filtering with video input
Paul B Mahol [Sun, 24 Jan 2016 18:12:33 +0000 (19:12 +0100)]
avfilter/vf_zoompan: unbreak filtering with video input

Inserting fifo appears to be working solution to not get
filter_frame request we do not want.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agoChangelog: Add entry on libquvi being removed
Timothy Gu [Sun, 24 Jan 2016 17:45:11 +0000 (09:45 -0800)]
Changelog: Add entry on libquvi being removed

8 years agoconfigure: Maintain alphabetical order of components
Timothy Gu [Sun, 24 Jan 2016 17:28:55 +0000 (09:28 -0800)]
configure: Maintain alphabetical order of components

This is not "pure" alphabetical order since some components are
intentionally kept together.

8 years agoavfilter/vf_zoompan: rewrite so it doesn't cache all output frames
Paul B Mahol [Sun, 24 Jan 2016 10:38:15 +0000 (11:38 +0100)]
avfilter/vf_zoompan: rewrite so it doesn't cache all output frames

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agolavfi: recognize GBR9-14P as RGB in ff_fill_rgba_map().
Ronald S. Bultje [Thu, 21 Jan 2016 14:28:30 +0000 (09:28 -0500)]
lavfi: recognize GBR9-14P as RGB in ff_fill_rgba_map().

8 years agoavformat: Remove support for libquvi
Kieran Kunhya [Sun, 24 Jan 2016 15:54:00 +0000 (15:54 +0000)]
avformat: Remove support for libquvi

libquvi has not been updated since 2013.
It also has a number of security issues.

8 years agoPrint the whitelists if entities are not found on them
Michael Niedermayer [Sun, 24 Jan 2016 15:15:24 +0000 (16:15 +0100)]
Print the whitelists if entities are not found on them

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavformat: Document urls a bit
Michael Niedermayer [Fri, 22 Jan 2016 23:35:46 +0000 (00:35 +0100)]
avformat: Document urls a bit

Spell-checked-by: Moritz Barsnick <barsnick@gmx.net>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agodecklink: Header cleanup
Timothy Gu [Wed, 2 Dec 2015 04:58:51 +0000 (20:58 -0800)]
decklink: Header cleanup

This commit cleans up the decklink files' header usage so that they pass
checkheaders.

8 years agocommon.mak: Use CCFLAGS for assembly generation as well
Timothy Gu [Wed, 2 Dec 2015 04:55:37 +0000 (20:55 -0800)]
common.mak: Use CCFLAGS for assembly generation as well

CCFLAGS is equivalent to CPPFLAGS + CFLAGS, and it is already being used
by other make rules like %.i and %.o. Simplifies common.mak.

8 years agoavdevice: Mark decklink_common.h as unconditional SKIPHEADER
Timothy Gu [Wed, 2 Dec 2015 05:44:50 +0000 (21:44 -0800)]
avdevice: Mark decklink_common.h as unconditional SKIPHEADER

It is a C++ file, incompatible with the checkheaders infrastructure.

8 years agolavfi/pthread: fix perameters/parameters typo
Clément Bœsch [Sun, 24 Jan 2016 13:41:00 +0000 (14:41 +0100)]
lavfi/pthread: fix perameters/parameters typo

8 years agoavfilter: update some comments
Paul B Mahol [Sun, 24 Jan 2016 12:14:26 +0000 (13:14 +0100)]
avfilter: update some comments

start_frame is no more, samplesref argument is now frame argument.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agobuild: fix msvc build
Charlie Arnold [Sat, 23 Jan 2016 21:11:59 +0000 (13:11 -0800)]
build: fix msvc build

Fix configure to set DST_PATH to the Windows style path when building with MSVC

Fixes ticket #5180.

Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
8 years agobuild: fix make checkheaders in out-of-tree builds
Andreas Cadhalpun [Sat, 23 Jan 2016 10:55:54 +0000 (11:55 +0100)]
build: fix make checkheaders in out-of-tree builds

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
8 years agofate/cabac: replace uninitialized bytes by random bytes
Michael Niedermayer [Sat, 23 Jan 2016 19:30:02 +0000 (20:30 +0100)]
fate/cabac: replace uninitialized bytes by random bytes

Fixes valgrind warning

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavfilter/vf_convolution: Use av_clip_uint8()
Michael Niedermayer [Sat, 23 Jan 2016 17:29:48 +0000 (18:29 +0100)]
avfilter/vf_convolution: Use av_clip_uint8()

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agofate/ffmpeg: Fix colorkey test failure without samples
Michael Niedermayer [Sat, 23 Jan 2016 17:28:47 +0000 (18:28 +0100)]
fate/ffmpeg: Fix colorkey test failure without samples

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agodxva2_h264: fix reference field marking in long slice struct
Hendrik Leppkes [Fri, 22 Jan 2016 12:50:42 +0000 (13:50 +0100)]
dxva2_h264: fix reference field marking in long slice struct

Fixes artifacts in interlaced decoding on old Intel GPUs.

8 years agoavcodec/mpeg4videoenc: Use 64bit for time variables
Michael Niedermayer [Sat, 23 Jan 2016 00:49:21 +0000 (01:49 +0100)]
avcodec/mpeg4videoenc: Use 64bit for time variables

Fixes assertion failure and integer overflow
Fixes: fc677bbea2c6f901763eb637b61fa5e2/signal_sigabrt_7ffff6ae7cb7_9556_dfd95f040a69f725d1b2f861bd491725.ivf
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavformat/libquvi: Set default demuxer and protocol limitations
Michael Niedermayer [Wed, 20 Jan 2016 14:25:32 +0000 (15:25 +0100)]
avformat/libquvi: Set default demuxer and protocol limitations

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavformat/concat: Check protocol prefix
Michael Niedermayer [Wed, 20 Jan 2016 10:10:27 +0000 (11:10 +0100)]
avformat/concat: Check protocol prefix

Reviewed-by: Andreas Cadhalpun <andreas.cadhalpun@googlemail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>