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>
Tue, 15 Aug 2017 11:56:40 +0000 (04:56 -0700)
Bug: 63796949

Change-Id: Ifd8a27d851cbc659ea8108e0879747cd9169680a

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

index 72777c4..c75bd7c 100644 (file)
@@ -1361,6 +1361,7 @@ TEST_F(VideoDecHidlTest, FlushTest) {
                       kPortIndexOutput, eleStream, &Info, index,
                       Info.size() - index, portMode[1], false);
     }
+    eleStream.close();
     flushPorts(omxNode, observer, &iBuffer, &oBuffer, kPortIndexInput,
                kPortIndexOutput);
     framesReceived = 0;