lavf input: allocate AVFrame correctly Allocate AVFrames correctly with avcodec_alloc_frame(). This caused crashes with newer libavcodecs that try to free frame extradata.
Handle planar audio data returned by avcodec_decode_audio3() properly.

Patch by nu774.
Merge branch 'kaudio' of git://github.com/silverfilain/x264_L-SMASH into kaudio