dshow: attempt to build shared as well as static

Signed-off-by: rogerdpack <rogerpack2005@gmail.com>
dsputil: Move ff_block_permute to mpegvideo_enc
dsputil: Move get_penalty_factor() to the only place it is used.
mjpegdec: use put_pixels instead of copy_block8

Signed-off-by: Mans Rullgard <mans@mansr.com>
dsputil: Drop unused functions copy_block{2|4|16}
dsputil: Move ff_svq3 function declarations to a separate header
indeo3: replace use of copy_block4 with put_pixels

The destination is sufficiently aligned for put_pixels here.

Signed-off-by: Mans Rullgard <mans@mansr.com>
dsputil: Move copy_block functions to a separate header
dsputil: Move ff_h264_idct function declarations to a separate header
dsputil: Move ff_shrink* function declarations to separate header
riff: chunks must be at 2 byte boundary

Fixes #2244.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
ff_end_tag: assert that the start is aligned.

If its start is not aligned then aligning its end will
likely break many demuxers as they check the size and not
the position.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
dxva2: Prevent redefinition of _WIN32_WINNT

Don't redefine _WIN32_WINNT when targeting Win7/8

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
dsp: make put_no_rnd_pixels_tab 4x4 big

This makes it match the other tables and fixes out of array acceses.

Fixes CID980012

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
dsputil: Remove commented-out, unused function declarations
dsputil: Move rnd_avg inline functions to a separate header
dsputil: Move WRAPPER8_16_SQ macro to the only place it is used
dsputil: Move LOCAL_ALIGNED macros to libavutil
dsputil: Move fdct function declarations to dct.h
get_se_golomb: fix decoding of very large values

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