Updating XTBs based on .GRDs from branch master
[chromium-blink-merge.git] / media / formats / mp2t / mp2t_common.h
blob64446fb454eb0067137f7a7a6f26975d2511798f
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef MEDIA_FORMATS_MP2T_MP2T_COMMON_H_
6 #define MEDIA_FORMATS_MP2T_MP2T_COMMON_H_
8 #define LOG_LEVEL_TS 5
9 #define LOG_LEVEL_PES 4
10 #define LOG_LEVEL_ES 3
12 #define RCHECK(x) \
13 do { \
14 if (!(x)) { \
15 DLOG(WARNING) << "Failure while parsing Mpeg2TS: " << #x; \
16 return false; \
17 } \
18 } while (0)
20 #endif