use my full first name instead of short one in copyrights
network: factor out bind-listening code

Introduce ff_listen_bind, to be shared with the other non-tcp
network protocols.
network: factor out connect-listening code

Introduce ff_listen_connect, to be shared with the other
non-tcp network protocols.
fate: use TARGET_SAMPLES in mcdeint tests

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

* commit '28306e6d620c109ddd672f7243adfbc2bbb3b18f':
  network: factor out bind-listening code
  use my full first name instead of short one in copyrights

Conflicts:
	libavformat/tcp.c

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

* qatar/master:
  network: factor out connect-listening code

Conflicts:
	libavformat/network.h
	libavformat/tcp.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
use Kostyas full name in copyrights

This fixes 2 files that where not part of the original change
See: de421b208578386bfb4416c67c9922877e670049

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
lavu: Add SHA-2 512 hashing

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avutil/sha512: Reshuffle Maj() operands

This reduces dependancy chains and improves speed by about 2%

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tiff: planar rgb

Signed-off-by: Paul B Mahol <onemda@gmail.com>
Fix compilation of libavcodec/tiff.c
tta: move code that will be shared with encoder to separate file

Signed-off-by: Paul B Mahol <onemda@gmail.com>
tta encoder

Signed-off-by: Paul B Mahol <onemda@gmail.com>
avutil/sha: reorder Maj arguments

about 1% speedup

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tools/ffeval: Check return value of av_expr_parse_and_eval()

Fixes CID1026745

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tools/ffhash: close file handle on error

Fixes CID1026768

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tools/qt-faststart: Fix unintended sign extension of atom_size

Fixes CID733810

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tools/qt-faststart: Fix unintended sign extension of current_offset

Fixes: CID733809

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tta: move GetBitContext out of private context

Signed-off-by: Paul B Mahol <onemda@gmail.com>
tta: use interger instead of pointer to iterate output samples for 24-bit case

Signed-off-by: Paul B Mahol <onemda@gmail.com>