lavf: always unref the packet passed to av_interleaved_write_frame() on error
rpza: switch to bytestream2
rpza: use fixed-width int types
rpza: move some variables to the blocks where they are used
rpza: limit the number of blocks to the total remaining blocks in the frame

Fixes invalid writes.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC:libav-stable@libav.org
doc/APIchanges: fill in FFmpeg hashes & versions

Entries that have no hash at all are not filled in

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Merge commit '394fb56c29eee7f4f8f0334d8b5d30d3c54ac703'

* commit '394fb56c29eee7f4f8f0334d8b5d30d3c54ac703':
  lavf: always unref the packet passed to av_interleaved_write_frame() on error

Merged-by: Michael Niedermayer <michaelni@gmx.at>
ffmpeg: fix vstats

Broken by: 394fb56c29eee7f4f8f0334d8b5d30d3c54ac703
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Merge commit 'e1218ce9149aad0ae9770a32a78d77ad2210bd64'

* commit 'e1218ce9149aad0ae9770a32a78d77ad2210bd64':
  rpza: switch to bytestream2

Merged-by: Michael Niedermayer <michaelni@gmx.at>
Merge commit 'c7769df178fd670156f1c11f6c8410ddd59bbfee'

* commit 'c7769df178fd670156f1c11f6c8410ddd59bbfee':
  rpza: use fixed-width int types

Merged-by: Michael Niedermayer <michaelni@gmx.at>
Merge commit 'a46dc49744bdc4f2e31725b63ac8e41f701e4fa1'

* commit 'a46dc49744bdc4f2e31725b63ac8e41f701e4fa1':
  rpza: move some variables to the blocks where they are used

Merged-by: Michael Niedermayer <michaelni@gmx.at>
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  rpza: limit the number of blocks to the total remaining blocks in the frame

See: 3819db745da2ac7fb3faacb116788c32f4753f34
Merged-by: Michael Niedermayer <michaelni@gmx.at>
ra144: use scalarproduct_int16

The buffer holding the coefficients must be padded with 0 so as to use DSP
functions that may overread. Currently, the SSE2/3 versions is an example,
as they process batches of 16 bytes.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avcodec/ra144: remove redundant AV_ZERO128

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avformat/libssh: Fix libssh defaulting to shared linkage.

Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Reviewed-by: Lukasz M <lukasz.m.luki@gmail.com>
See: [FFmpeg-devel] Fix libssh static linkage on Windows
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
lavfi/frei0r: load plugins from lib64 folders as well on 64bit builds

Signed-off-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
x86: add missing XOP checks and macros

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
lavf: add write_uncoded_frame() API.
lavd/alsa: preliminary support of uncoded frame.
lavd/xv: preliminary support of uncoded frame.