decklink: Header cleanup

This commit cleans up the decklink files' header usage so that they pass
checkheaders.
This commit is contained in:
Timothy Gu 2015-12-01 20:58:51 -08:00
parent bd4d192081
commit 61fb70c386
7 changed files with 13 additions and 13 deletions

View File

@ -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"
}

View File

@ -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;

View File

@ -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;

View File

@ -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"
}

View File

@ -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);

View File

@ -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"
}

View File

@ -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);