summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRam Mohan M2017-08-09 04:22:20 -0500
committerPawin Vongmasa2017-08-15 06:56:40 -0500
commit285f8b116ec6381991a4e20a4a2fa58a2176b30b (patch)
tree62bdeeb367c52aa2925c48d274c8aa01b346aff3 /media/omx/1.0/vts/functional/video/VtsHalMediaOmxV1_0TargetVideoDecTest.cpp
parent96743b42576bb508cd0820e9503a7d82003a682b (diff)
downloadplatform-hardware-interfaces-285f8b116ec6381991a4e20a4a2fa58a2176b30b.tar.gz
platform-hardware-interfaces-285f8b116ec6381991a4e20a4a2fa58a2176b30b.tar.xz
platform-hardware-interfaces-285f8b116ec6381991a4e20a4a2fa58a2176b30b.zip
bug fix: close file pointer
Bug: 63796949 Change-Id: Ifd8a27d851cbc659ea8108e0879747cd9169680a
Diffstat (limited to 'media/omx/1.0/vts/functional/video/VtsHalMediaOmxV1_0TargetVideoDecTest.cpp')
-rw-r--r--media/omx/1.0/vts/functional/video/VtsHalMediaOmxV1_0TargetVideoDecTest.cpp1
1 files changed, 1 insertions, 0 deletions
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 72777c40..c75bd7c6 100644
--- a/media/omx/1.0/vts/functional/video/VtsHalMediaOmxV1_0TargetVideoDecTest.cpp
+++ b/media/omx/1.0/vts/functional/video/VtsHalMediaOmxV1_0TargetVideoDecTest.cpp
@@ -1361,6 +1361,7 @@ TEST_F(VideoDecHidlTest, FlushTest) {
1361 kPortIndexOutput, eleStream, &Info, index, 1361 kPortIndexOutput, eleStream, &Info, index,
1362 Info.size() - index, portMode[1], false); 1362 Info.size() - index, portMode[1], false);
1363 } 1363 }
1364 eleStream.close();
1364 flushPorts(omxNode, observer, &iBuffer, &oBuffer, kPortIndexInput, 1365 flushPorts(omxNode, observer, &iBuffer, &oBuffer, kPortIndexInput,
1365 kPortIndexOutput); 1366 kPortIndexOutput);
1366 framesReceived = 0; 1367 framesReceived = 0;