DASH Media Packaging SDK
Main Page
Namespaces
Classes
Files
File List
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
media
base
rcheck.h
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.
4
5
#ifndef PACKAGER_MEDIA_BASE_RCHECK_H_
6
#define PACKAGER_MEDIA_BASE_RCHECK_H_
7
8
#include "packager/base/logging.h"
9
10
#define RCHECK(x) \
11
do { \
12
if (!(x)) { \
13
LOG(ERROR) << "Failure while processing: " << #x; \
14
return false; \
15
} \
16
} while (0)
17
18
#endif // PACKAGER_MEDIA_BASE_RCHECK_H_
Generated on Mon Jul 11 2016 18:03:03 for DASH Media Packaging SDK by
1.8.6