Commit 61fb70c3 authored by Timothy Gu's avatar Timothy Gu

decklink: Header cleanup

This commit cleans up the decklink files' header usage so that they pass
checkheaders.
parent bd4d1920
......@@ -26,11 +26,7 @@
#include <DeckLinkAPIDispatch.cpp>
#endif
#include <pthread.h>
#include <semaphore.h>
extern "C" {
#include "libavformat/avformat.h"
#include "libavformat/internal.h"
#include "libavutil/imgutils.h"
}
......
......@@ -19,9 +19,15 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include <DeckLinkAPIVersion.h>
#include <pthread.h>
#include <semaphore.h>
#include <DeckLinkAPI.h>
extern "C" {
#include "libavformat/avformat.h"
#include "decklink_common_c.h"
}
class decklink_output_callback;
class decklink_input_callback;
......
......@@ -19,6 +19,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "libavutil/log.h"
struct decklink_cctx {
const AVClass *cclass;
......
......@@ -21,11 +21,7 @@
#include <DeckLinkAPI.h>
#include <pthread.h>
#include <semaphore.h>
extern "C" {
#include "libavformat/avformat.h"
#include "libavformat/internal.h"
#include "libavutil/imgutils.h"
}
......
......@@ -23,6 +23,8 @@
extern "C" {
#endif
#include "libavformat/avformat.h"
int ff_decklink_read_header(AVFormatContext *avctx);
int ff_decklink_read_packet(AVFormatContext *avctx, AVPacket *pkt);
int ff_decklink_read_close(AVFormatContext *avctx);
......
......@@ -21,11 +21,7 @@
#include <DeckLinkAPI.h>
#include <pthread.h>
#include <semaphore.h>
extern "C" {
#include "libavformat/avformat.h"
#include "libavformat/internal.h"
#include "libavutil/imgutils.h"
}
......
......@@ -23,6 +23,8 @@
extern "C" {
#endif
#include "libavformat/avformat.h"
int ff_decklink_write_header(AVFormatContext *avctx);
int ff_decklink_write_packet(AVFormatContext *avctx, AVPacket *pkt);
int ff_decklink_write_trailer(AVFormatContext *avctx);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment