decklink: Header cleanup

This commit cleans up the decklink files' header usage so that they pass
checkheaders.
pull/172/head
Timothy Gu 9 years ago
parent bd4d192081
commit 61fb70c386
  1. 4
      libavdevice/decklink_common.cpp
  2. 8
      libavdevice/decklink_common.h
  3. 2
      libavdevice/decklink_common_c.h
  4. 4
      libavdevice/decklink_dec.cpp
  5. 2
      libavdevice/decklink_dec.h
  6. 4
      libavdevice/decklink_enc.cpp
  7. 2
      libavdevice/decklink_enc.h

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

Loading…
Cancel
Save