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.
configure: make avconv select (a)trim filters

They are now used for -ss/-t
configure: add dependencies to lavfi .pc file

The scale filter depends on sws, resample on lavr, and movie on lavf and
lavc.

Fixes Bug 502.
FATE: use a less ambiguous end time for filter-trim-time test

0.1 seconds at 25 fps is exactly 2.5 frames, which may be rounded either
to 2 or 3 on different platforms.
nut: use meaningful error values

Fix the mispresented EINVAL for EOF on partial files, among the other.
lavc: do not leak frames in avcodec_decode_audio4

Notwithstanding the return value the frame should be freed if
is not going to be used.

Reported-by: Matthew Wolenetz <wolenetz@chromium.org>
oma: return meaningful errors
oma: properly forward errors in oma_read_packet

Prevent spurios EIO on EOF.

CC:libav-stable@libav.org
x86: rnd_template: Eliminate pointless OP_AVG macro indirection
x86: dsputil hpeldsp: Move shared template functions into separate object
x86: dsputil: Move rv40-specific functions where they belong
x86: dsputil: Remove unused MOVQ_BONE macro
x86: dsputil: Remove unused ff_pb_3F constant
fate-run: Drop unnecessary regtest() indirection

The indirection was used to abstract from the different -regression.sh
scripts. Now that only one remains, this indirection is pointless.
msvc: Move linker pragma from config.h to libavutil/internal.h

This makes linking succeed for tools that include config.h but
don't link to libavutil.

Signed-off-by: Martin Storsjö <martin@martin.st>
x86: dsputil: Move ff_pd assembly constants to the only place they are used
x86: dsputil: Group all assembly constants together in constants.c