diff options
author | Alexander Strange <astrange@ithinksw.com> | 2006-10-01 18:19:49 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2006-10-01 18:19:49 +0000 |
commit | eacad59e0390f3e087ccda2582031574db3461a7 (patch) | |
tree | 4c9a24fcd7134b392667f1822e1f638f9ca29858 /libavcodec/dv.c | |
parent | 7f09a560910e83cdcfe9377f73d0ea11e0f0f867 (diff) | |
download | ffmpeg-eacad59e0390f3e087ccda2582031574db3461a7.tar.gz |
Fix compilation with --disable-encoders.
patch by Alexander Strange, astrange at ithinksw dot com
Originally committed as revision 6410 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dv.c')
-rw-r--r-- | libavcodec/dv.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/dv.c b/libavcodec/dv.c index c6f039923d..fca331b492 100644 --- a/libavcodec/dv.c +++ b/libavcodec/dv.c @@ -1196,7 +1196,7 @@ 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) { @@ -1223,6 +1223,7 @@ static int dvvideo_encode_frame(AVCodecContext *c, uint8_t *buf, int buf_size, return s->sys->frame_size; } +#endif static int dvvideo_close(AVCodecContext *c) { |