Fix software avc encoder crash at EOS.

Change-Id: I738dc24556e41ce518b67babeff16cd934c2d1b1
This commit is contained in:
Andreas Huber
2010-08-12 15:14:24 -07:00
parent b7d1be01ae
commit 72ac1f26d7

View File

@@ -391,8 +391,6 @@ status_t AVCEncoder::read(
if (err != OK) { if (err != OK) {
LOGE("Failed to read input video frame: %d", err); LOGE("Failed to read input video frame: %d", err);
outputBuffer->release(); outputBuffer->release();
mInputBuffer->release();
mInputBuffer = NULL;
return err; return err;
} }