summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2008-07-11 07:48:37 +0000
committerDiego Biurrun <diego@biurrun.de>2008-07-11 07:48:37 +0000
commit4ad62d9a5c34a52b55efd1cb8978fcb62c55086d (patch)
tree15123cb0a7a196f5b908076ff81685ce256e767c
parentfd9f3153399f885d76fc4ca2462958d17122eef9 (diff)
Move #ifdef CONFIG_DVVIDEO_ENCODER up to cover all functions used for encoding.
Originally committed as revision 14166 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/dv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dv.c b/libavcodec/dv.c
index a535e189ea..8ba952ae62 100644
--- a/libavcodec/dv.c
+++ b/libavcodec/dv.c
@@ -1137,6 +1137,7 @@ static inline int dv_write_pack(enum dv_pack_type pack_id, DVVideoContext *c, ui
return 5;
}
+#ifdef CONFIG_DVVIDEO_ENCODER
static void dv_format_frame(DVVideoContext* c, uint8_t* buf)
{
int chan, i, j, k;
@@ -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,
void *data)
{