OSDN Git Service

bug fix: close file pointer
authorRam Mohan M <ram.mohan@ittiam.com>
Wed, 9 Aug 2017 09:22:20 +0000 (14:52 +0530)
committerPawin Vongmasa <pawin@google.com>
Thu, 17 Aug 2017 12:31:52 +0000 (05:31 -0700)
Bug: 63796949

Merged-In: Ifd8a27d851cbc659ea8108e0879747cd9169680a
Change-Id: Ifd8a27d851cbc659ea8108e0879747cd9169680a

media/omx/1.0/vts/functional/video/VtsHalMediaOmxV1_0TargetVideoDecTest.cpp

index f13d88c..deb70bd 100644 (file)
@@ -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;