avformat: Add av_cold attributes to init functions missing them
avcodec: Add av_cold attributes to end functions missing them
bgmc: Do not mark ff_bgmc_decode_init() as av_cold

The function is possibly called once per block.
nut: use a define for the nut version

Ease switching version in the future and make evident why that value.
wav: Always seek to an even offset

RIFF chunks are aligned to 16bit according to the specification.

Bug-Id:500
CC:libav-stable@libav.org
x86: More specific ifdefs for dsputil/hpeldsp init functions
x86: hpeldsp: Only compile MMX hpeldsp code if MMX is enabled
x86: hpeldsp: Move avg_pixels8_x2_mmx() out of hpeldsp_rnd_template.c

The function is only instantiated once, so there is no point
in keeping it in a template file.
jpeg2000: Fix uninitialized data errors pointed out by valgrind/memcheck

Signed-off-by: Diego Biurrun <diego@biurrun.de>
swscale: Remove unnecessary backslashes

Signed-off-by: Martin Storsjö <martin@martin.st>
swscale: Use alpha from the right row in yuva2rgba_c

Every other pixel had the alpha channel taken from the wrong
row.

This fixes bug 504.

CC: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st>
pixdesc: add function to return pixel format with swapped endiannes
swscale: add support for endianness only conversion

Use bitfields in FormatEntry array to avoid wasting an int for each flag.
swscale: support endianness conversion for AV_PIX_FMT_XYZ12
vf_scale: add endianness conversion pixel format in query_formats
fate-jpeg2000-dcinema: force output to xyz12le

Fixes Fate tests on big-endian configs.
jpeg2000dec: cleanup properly after decoding errors

Fixes memory leak in fate-redcode-demux.
jpeg2000dec: initialize static data just once
indeo3: use unaligned reads on reference blocks.

They are not guaranteed to be aligned.
Fixes Bug 503.

CC:libav-stable@libav.org
avconv: remove -deinterlace

It is incompatible with refcounted frames and since it's been deprecated
for a long time now, fixing it is not worth the effort.