To fix the video editor transition failure problem

The patch fixes the Android defects in video editor native code. When
the encoded bitstream contains more than one slice in one picture,
the original design cannot handle such a situation.

Moreover, if the encode bitstreams contains more than one Sequence
Parameter Set (SPS) or/and Picture Parameter Set (PPS), the codes
can't deal with it, either.

Change-Id: Ie3212a0bb99856ea5801f627d3e3576e645f237c
Author: Wei Feng <wei.feng@intel.com>
Signed-off-by: Wei Feng <wei.feng@intel.com>
Signed-off-by: Wangyi Gu <wangyi.gu@intel.com>
Signed-off-by: Shuo Gao <shuo.gao@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Author-tracking-BZ: 49712, 45017, 22828, 26405, 45017