Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(587)

Unified Diff: webrtc/modules/media_file/media_file_impl.cc

Issue 2054373002: FileWrapper[Impl] modifications and actually remove the "Impl" class. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fix compile error in func_test_manager.cc Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/media_file/media_file_impl.cc
diff --git a/webrtc/modules/media_file/media_file_impl.cc b/webrtc/modules/media_file/media_file_impl.cc
index 27fe9613a3ba8ab8833a2b0833946262303aebdb..0672cfe82b8b1471ce95da1aa19f26c6cef5b028 100644
--- a/webrtc/modules/media_file/media_file_impl.cc
+++ b/webrtc/modules/media_file/media_file_impl.cc
@@ -371,12 +371,11 @@ int32_t MediaFileImpl::StartPlayingAudioFile(
return -1;
}
- if(inputStream->OpenFile(fileName, true, loop) != 0)
- {
- delete inputStream;
- WEBRTC_TRACE(kTraceError, kTraceFile, _id,
- "Could not open input file %s", fileName);
- return -1;
+ if (inputStream->OpenFile(fileName, true) != 0) {
+ delete inputStream;
+ WEBRTC_TRACE(kTraceError, kTraceFile, _id, "Could not open input file %s",
+ fileName);
+ return -1;
}
if(StartPlayingStream(*inputStream, loop, notificationTimeMs,

Powered by Google App Engine
This is Rietveld 408576698