Use ptrdiff_t instead of int for {avg, put}_pixels line_size parameter.

This avoids SIMD-optimized functions having to sign-extend their
line size argument manually to be able to do pointer arithmetic.
Add av_cold attributes to arch-specific init functions
configure: Group all hwaccels together in a separate variable
sh4: Fix silly type vs. variable name search and replace typo
sh4: drop unused functions

{avg,put}_pixels4_c are not used.
vc1dec: use codec_id instead of codec_tag for VC1IMAGE

the rest of the code is using codec_id everywhere already

Signed-off-by: Vladimir Pantelic <vladoman@gmail.com>
Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
asf: K&R formatting cosmetics
vf_yadif: silence a warning.

clang says:
libavfilter/vf_yadif.c:192:28: warning: incompatible pointer types assigning to
'void (*)(uint8_t *, uint8_t *, uint8_t *, uint8_t *, int, int, int, int, int)'
from 'void (uint16_t *, uint16_t *, uint16_t *, uint16_t *, int, int, int, int, int)'
cmdutils: remove ansi from the list of broken codecs.

It's not relying on get_buffer() initializing the frame since
99e36ddd3ee57c38e6ca9e240ba518848487f849.
svq1: replace struct svq1_frame_size with an array.

It is used as an array in svq1enc, so this is more correct.
msrledec: check bounds before constructing a possibly invalid pointer,

CC:libav-stable@libav.org
yop: initialize palette to 0

The FATE sample contains some pixels with value 0, but the palette
stored in the file contains only values from 16 up. Because the default
and cmdutils get_buffer() initialize the data to 0x80, they appear as
gray dots.
After this commit they change to black dots, which is probably still
incorrect but less visible and doesn't rely on get_buffer() initializing
the data.
cdgraphics: do not rely on get_buffer() initializing the frame.

Setting it to zero (instead of 128, as the default get_buffer() does)
also produces more correctly-looking output.
aasc: fix output for msrle compression.

The bottom line was invalid before.

CC:libav-stable@libav.org
fraps: fix off-by one bug for version 1.

CC:libav-stable@libav.org
xxan: properly handle odd heights.

Duplicate the last one or two chroma lines.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
CC:libav-stable@libav.org
qtrle: fix the topmost line for 1bit

Signed-off-by: Anton Khirnov <anton@khirnov.net>
CC:libav-stable@libav.org
yop: check that extradata is large enough.

CC:libav-stable@libav.org
yop: check for input overreads.

CC:libav-stable@libav.org
nuv: do not rely on get_buffer() initializing the frame.