libtwolame MP2 encoding support

Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
mp2: match twolame default options
lavu: Add packed YVYU422 pixel format
swscale: support converting YVYU422 pixel format
examples/transcoding: use av_malloc_array()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avcodec/ac3enc_float: use av_malloc_array()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
cmdutils: use av_mallocz_array()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avcodec/a64multienc: use av_malloc(z)_array()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avcodec/avpacket: use av_malloc_array()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
vcodec/bitstream: use av_malloc_array()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
swscale/x86/swscale_template: loose hardcoded dstw_offset

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
swscale/swscale_internal: make the offset strings update themselfs when the MAX_FILTER_SIZE is changed

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
swscale/swscale_internal: remove obsolete warning

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
configure: AVI demux needs exif

Reviewed-by: Thilo Borgmann <thilo.borgmann@mail.de>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
rtspcodes: don't check for >0 on error codes macro

Avoids a warning with gcc 4.7 and -Wtype-limits. Albeit
superfluous (At least gcc 4.8 didnt consider this been
a problem).

Signed-off-by: Reynaldo H. Verdejo Pinochet <r.verdejo@sisa.samsung.com>
avcodec/libopencore-amr: use av_mallocz_array()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avcodec/libzvbi-teletextdec: remove * 1

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avcodec/j2kenc: use av_malloc(z)_array()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
rawvideo: Support decoding YVYU422 FourCC
fate: update tests for YVYU422 pixel format