cc: Added inline to Tile::IsReadyToDraw
[chromium-blink-merge.git] / media / mp4 / rcheck.h
blob816505606787ae4b93976944be675eb1e633fc2e
1 // Copyright (c) 2012 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_MP4_RCHECK_H_
6 #define MEDIA_MP4_RCHECK_H_
8 #include "base/logging.h"
10 #define RCHECK(x) \
11 do { \
12 if (!(x)) { \
13 DLOG(ERROR) << "Failure while parsing MP4: " << #x; \
14 return false; \
15 } \
16 } while (0)
18 #endif // MEDIA_MP4_RCHECK_H_