[PORT FROM R3] Fix MPEG4 multiple frame issue.

BZ: 43475

Streams may contain vol header, so the first item is not the vop,then
the framesize won't be set. Use the last picdata offset and size to
calculate the next frame offset.

Orignal Change-Id: If06e4bfbfc66dbd57839d8a10c60f11013626fc5

Change-Id: I94060ff7c5dfc780a913fd5cd25d4a6457a8eac6
Signed-off-by: fxiao4X <fengx.xiao@intel.com>
Reviewed-on: http://android.intel.com:8080/59193
Reviewed-by: buildbot <buildbot@intel.com>
Reviewed-by: Zhang, Xiaolin <xiaolin.zhang@intel.com>
Tested-by: Zhang, Xiaolin <xiaolin.zhang@intel.com>
3 files changed