Browse Source

decklink: Header cleanup

This commit cleans up the decklink files' header usage so that they pass
checkheaders.
tags/n3.0
Timothy Gu 10 years ago
parent
commit
61fb70c386
7 changed files with 13 additions and 13 deletions
  1. +0
    -4
      libavdevice/decklink_common.cpp
  2. +7
    -1
      libavdevice/decklink_common.h
  3. +2
    -0
      libavdevice/decklink_common_c.h
  4. +0
    -4
      libavdevice/decklink_dec.cpp
  5. +2
    -0
      libavdevice/decklink_dec.h
  6. +0
    -4
      libavdevice/decklink_enc.cpp
  7. +2
    -0
      libavdevice/decklink_enc.h

+ 0
- 4
libavdevice/decklink_common.cpp 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"
}


+ 7
- 1
libavdevice/decklink_common.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;


+ 2
- 0
libavdevice/decklink_common_c.h 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;



+ 0
- 4
libavdevice/decklink_dec.cpp 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"
}


+ 2
- 0
libavdevice/decklink_dec.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);


+ 0
- 4
libavdevice/decklink_enc.cpp 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"
}


+ 2
- 0
libavdevice/decklink_enc.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);


Loading…
Cancel
Save