libavutil_visibility.h (729B)
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 2 /* vim:set ts=2 sw=2 sts=2 et cindent: */ 3 /* This Source Code Form is subject to the terms of the Mozilla Public 4 * License, v. 2.0. If a copy of the MPL was not distributed with this 5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 6 7 // Include file for fixing symbol visibility on Linux. 8 9 #ifndef MOZILLA_AVUTIL_VISIBILITY_H 10 #define MOZILLA_AVUTIL_VISIBILITY_H 11 12 #pragma GCC visibility push(default) 13 14 // We need av_log() to be visible so we can enable assertions in libavcodec. 15 #include "libavutil/log.h" 16 #include "libavutil/internal.h" 17 #include "libavcodec/packet.h" 18 19 #pragma GCC visibility pop 20 21 #endif // MOZILLA_AVUTIL_VISIBILITY_H