To fix video editor crash issue

BZ: 52577

When the sdcard is short of storage, video editor will
fail to write the encoded data to SDcard. When this error
happens, current error handling code forgets to derease
the encoded buffer reference count. This will cause
buffer's refcount check fails, which lead to video editor

Change-Id: I175790640a5fbbe226d0e17f3d6a752337e6b124
Signed-off-by: wfeng6 <>
Reviewed-by: Gu, Wangyi <>
Reviewed-by: Ding, Haitao <>
Tested-by: Ding, Haitao <>
Reviewed-by: buildbot <>
Tested-by: buildbot <>
2 files changed