From 727b2ba98c81b962cfd3cfbaf8b706cce37cb096 Mon Sep 17 00:00:00 2001 From: Ram Mohan M Date: Wed, 9 Aug 2017 14:52:20 +0530 Subject: [PATCH] bug fix: close file pointer Bug: 63796949 Merged-In: Ifd8a27d851cbc659ea8108e0879747cd9169680a Change-Id: Ifd8a27d851cbc659ea8108e0879747cd9169680a --- .../functional/video/VtsHalMediaOmxV1_0TargetVideoDecTest.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/media/omx/1.0/vts/functional/video/VtsHalMediaOmxV1_0TargetVideoDecTest.cpp b/media/omx/1.0/vts/functional/video/VtsHalMediaOmxV1_0TargetVideoDecTest.cpp index f13d88c1e8..deb70bd1da 100644 --- a/media/omx/1.0/vts/functional/video/VtsHalMediaOmxV1_0TargetVideoDecTest.cpp +++ b/media/omx/1.0/vts/functional/video/VtsHalMediaOmxV1_0TargetVideoDecTest.cpp @@ -1219,6 +1219,7 @@ TEST_F(VideoDecHidlTest, FlushTest) { Info.size() - index, portMode[1], false); } // Note: Assumes 200 ms is enough to end any decode call that started + eleStream.close(); flushPorts(omxNode, observer, &iBuffer, &oBuffer, kPortIndexInput, kPortIndexOutput, 200000); framesReceived = 0;