mm-video: vidc: Fix frameparser behavior for EOS buffers

For NAL length based frame parsing, the EOS with source length 0
is treated as error. However EOS with source length 0 is valid
and needs to be treated as normal EOS. This change fixes the same.

CRs-Fixed: 546155

Change-Id: If160748115234b627d0251cc24509de1e676915a
1 file changed