Commit c83671be authored by diego's avatar diego

Move #ifdef CONFIG_DVVIDEO_ENCODER up to cover all functions used for encoding.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14166 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 95771c91
...@@ -1137,6 +1137,7 @@ static inline int dv_write_pack(enum dv_pack_type pack_id, DVVideoContext *c, ui ...@@ -1137,6 +1137,7 @@ static inline int dv_write_pack(enum dv_pack_type pack_id, DVVideoContext *c, ui
return 5; return 5;
} }
#ifdef CONFIG_DVVIDEO_ENCODER
static void dv_format_frame(DVVideoContext* c, uint8_t* buf) static void dv_format_frame(DVVideoContext* c, uint8_t* buf)
{ {
int chan, i, j, k; int chan, i, j, k;
...@@ -1187,7 +1188,6 @@ static void dv_format_frame(DVVideoContext* c, uint8_t* buf) ...@@ -1187,7 +1188,6 @@ static void dv_format_frame(DVVideoContext* c, uint8_t* buf)
} }
#ifdef CONFIG_ENCODERS
static int dvvideo_encode_frame(AVCodecContext *c, uint8_t *buf, int buf_size, static int dvvideo_encode_frame(AVCodecContext *c, uint8_t *buf, int buf_size,
void *data) void *data)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment