avcodec: handle leftover samples properly
authorIlkka Ollakka <ileoo@videolan.org>
Thu, 23 May 2013 19:42:14 +0000 (22:42 +0300)
committerIlkka Ollakka <ileoo@videolan.org>
Thu, 23 May 2013 19:46:33 +0000 (22:46 +0300)
commitaf3f8759a874eeda1af2ccd50d61028809bd3161
tree1c8afe36fe4fef797df0770a80f746cb5049fc37
parent3a88500074a77015b952c52f536c8e037f2d322b
avcodec: handle leftover samples properly

Don't mess up deinterleaving if there is leftover-samples and keep
leftover samples in interleaved format. Fixes #8570
modules/codec/avcodec/encoder.c