// Copyright 2017 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef MEDIA_FORMATS_MP4_PARSE_RESULT_H_ #define MEDIA_FORMATS_MP4_PARSE_RESULT_H_ namespace media { namespace mp4 { enum class ParseResult { … }; // Evaluate |expr| once. If the result is not ParseResult::kOk, (early) return // it from the containing function. #define RCHECK_OK_PARSE_RESULT(expr) … } // namespace mp4 } // namespace media #endif // MEDIA_FORMATS_MP4_PARSE_RESULT_H_