Fix crash when using libx264.dll compiled with ICL for X86_64
lavf input: allocate AVFrame correctly
Allocate AVFrames correctly with avcodec_alloc_frame().
This caused crashes with newer libavcodecs that try to free frame extradata.
Solaris: use sysconf to get processor count
Solaris responds correctly to the same value as Cygwin, so let's use that.
configure: fix gpac detection with -Wp,-D_FORTIFY_SOURCE=2
Fix typo in r2222
Slightly wrong numbers in level table.
Fix pthread_join emulation on win32 and BeOS
Doesn't actually affect x264, but it's more correct.
Fix build on ARM with binutils >= 2.23.51.0.6
GAS doesn't seem to like spaces in vld1 anymore, so remove those.
Fix crash if the first frame is forced to a non-keyframe
This is obviously bad user input, but x264 shouldn't crash if it happens.
Update config.guess and config.sub
x86inc: support stack mem allocation and re-alignment in PROLOGUE
Use this in 8-bit loopfilter functions so they can be used if
there is no aligned stack (e.g. x86-32 MSVC or ICC 10.x).
x86inc: activate REP_RET automatically
Now RET checks whether it immediately follows a branch, so the programmer dosen't have to keep track of that condition.
REP_RET is still needed manually when it's a branch target, but that's much rarer.
The implementation involves lots of spurious labels, but that's ok because we strip them.
x86inc: Use VEX-encoded instructions in AVX functions
Automatically use VEX-encoding in AVX/AVX2/XOP/FMA3/FMA4 functions for all instructions that exists in a VEX-encoded version.
This change makes it easier to extend existing code to use AVX2.
Also add support for AVX emulation of a few instructions that were missing before.
AVX2/FMA3 version of mbtree_propagate
First AVX2 function for testing.
Bump yasm version to 1.2.0 for AVX2 support.
x86inc: Drop tzcnt workaround

It is no longer needed now that we've bumped the version requirement of yasm to 1.2.0.
Bump dates to 2013
Handle planar audio data returned by avcodec_decode_audio3() properly.

Patch by nu774.
Merge branch 'plain' into kaudio

Conflicts:
	input/lavf.c
Handle planar audio data returned by avcodec_decode_audio3() properly.

Patch by nu774.
Merge branch 'kaudio' into lsmash

Conflicts:
	configure
Merge up to "description: Fix memory leak when appending ESDescriptor Box from audio summary.".