am 72ac1f26: Fix software avc encoder crash at EOS.
Merge commit '72ac1f26d73bd8e7645365d8d8374fac7a511263' into gingerbread-plus-aosp * commit '72ac1f26d73bd8e7645365d8d8374fac7a511263': Fix software avc encoder crash at EOS.
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user