h264: fix 4:2:2 PCM-macroblocks decoding

Fixes bug 239.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
vf_unsharp: Mark readonly variable as const.

This fixes the following warning:
libavfilter/vf_unsharp.c:106: warning: initialization discards qualifiers from pointer target type
aacenc: Mark deinterleave_input_samples argument as const.

This fixes the warning:
libavcodec/aacenc.c:524: warning: passing argument 2 of ‘deinterleave_input_samples’ discards qualifiers from pointer target type
swscale: handle complete dimensions for monoblack/white.

Fixes bug 269.
fate: add BMP tests.
vp8dsp x86: perform rounding shift with a single instruction

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
dsputil x86: remove deprecated parameter from scalarproduct_int16 prototype

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
dsputil x86: use SSE float instruction instead of SSE2 integer equivalent

All the more required since the users are pure SSE functions.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
configure: add dl to frei0r extralibs.
vsrc_buffer: when no frame is available, return an error instead of segfaulting.
h264: Factorize declaration of mb_sizes array.
mov: do not print string len in handler_name.

The handler name is stored as a pascal string in the QT specs (first
byte is the length of the string), thus leading to an invalid metadata
string export.

Also add a second length check based on the first character to avoid
overwriting an already specified handler_name (it happens with Youtube
videos for instance, the handler_name get masked), or specifying an
empty string metadata.
cmdutils: fix -fdebug without -v xy

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

* qatar/master:
  h264: Factorize declaration of mb_sizes array.
  vsrc_buffer: when no frame is available, return an error instead of segfaulting.
  configure: add dl to frei0r extralibs.
  dsputil x86: use SSE float instruction instead of SSE2 integer equivalent
  dsputil x86: remove deprecated parameter from scalarproduct_int16 prototype
  vp8dsp x86: perform rounding shift with a single instruction
  fate: add BMP tests.
  swscale: handle complete dimensions for monoblack/white.
  aacenc: Mark deinterleave_input_samples argument as const.
  vf_unsharp: Mark readonly variable as const.
  h264: fix 4:2:2 PCM-macroblocks decoding

Conflicts:
	configure
	libavcodec/h264.h
	libavcodec/x86/dsputil_mmx.c
	libavfilter/vf_unsharp.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
avutil: Add av_get_default_channel_layout()

Also, use the new function in the AC-3 encoder.
avcodec: remove avcodec_guess_channel_layout()

It is not public because the header is not installed, and its functionality
has been replaced by av_get_default_channel_layout().
Support yuva444p rawvideo in nut.

Fixes ticket #1058.
movdec: handle 0x7fff langcode as macintosh per the specs

The correct point that seperates ISO and MAC language codes is 0x400
according to the current QT spec. Old QT specs did not list where this
seperation is but apparently only defined the meaning of the first 137.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
fix fate tests after 76c79aa28fc8cf0bfe52915317a3cfc72383d0ef

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
lavc: add a OpenEXR decoder

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