Index: media/mpeg2/mpeg2ts_common.h |
diff --git a/native_client_sdk/src/libraries/nacl_io/syscalls/tcflush.c b/media/mpeg2/mpeg2ts_common.h |
similarity index 52% |
copy from native_client_sdk/src/libraries/nacl_io/syscalls/tcflush.c |
copy to media/mpeg2/mpeg2ts_common.h |
index 5a59b8b694d99cbd56525eabaaf3277c649b4211..52a8c5b34439149343aeb086738a0050808100ae 100644 |
--- a/native_client_sdk/src/libraries/nacl_io/syscalls/tcflush.c |
+++ b/media/mpeg2/mpeg2ts_common.h |
@@ -2,10 +2,11 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "nacl_io/kernel_intercept.h" |
-#include "nacl_io/ostermios.h" |
+#ifndef MEDIA_MPEG2_MPEG2TS_COMMON_H_ |
+#define MEDIA_MPEG2_MPEG2TS_COMMON_H_ |
-int tcflush(int fd, int queue_selector) { |
- return ki_tcflush(fd, queue_selector); |
-} |
+#define LOG_LEVEL_TS 5 |
+#define LOG_LEVEL_PES 4 |
+#define LOG_LEVEL_ES 3 |
+#endif |