mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-24 11:49:48 +00:00
decklink: Header cleanup
This commit cleans up the decklink files' header usage so that they pass checkheaders.
This commit is contained in:
parent
bd4d192081
commit
61fb70c386
@ -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…
Reference in New Issue
Block a user