From 7b53c2b29bb9fc77c9c0515446199ebe20cc0de0 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Tue, 29 Jan 2013 20:08:43 +0100 Subject: video-decode: Make struct video_decode private again --- src/advtime.c | 2 -- src/video_decode.c | 7 +++++++ src/video_decode.h | 12 ------------ 3 files changed, 7 insertions(+), 14 deletions(-) diff --git a/src/advtime.c b/src/advtime.c index e5b0297..3cd8290 100644 --- a/src/advtime.c +++ b/src/advtime.c @@ -4,8 +4,6 @@ #include #include -#include - #include "video_decode.h" #include "util.h" diff --git a/src/video_decode.c b/src/video_decode.c index 6e3500a..955cd5d 100644 --- a/src/video_decode.c +++ b/src/video_decode.c @@ -15,6 +15,13 @@ struct video_frame_priv { AVFrame *frame; }; +struct video_decode { + AVFormatContext *fmt_ctx; + AVCodecContext *codec_ctx; + AVCodec *codec; + int stream; +}; + int video_decode_init(struct video_decode **vd_out, char *file, int64_t ts) { diff --git a/src/video_decode.h b/src/video_decode.h index 5b5d88c..40d2587 100644 --- a/src/video_decode.h +++ b/src/video_decode.h @@ -2,11 +2,6 @@ #define _VIDEO_DECODE_H_ #include -#include -#include -#include -#include -#include struct video_decode; struct video_frame { @@ -15,13 +10,6 @@ struct video_frame { int64_t dts; }; -struct video_decode { - AVFormatContext *fmt_ctx; - AVCodecContext *codec_ctx; - AVCodec *codec; - int stream; -}; - int video_decode_init(struct video_decode **vd, char *file, int64_t timestamp); -- cgit