diff options
author | Måns Rullgård <mans@mansr.com> | 2006-09-27 23:54:07 +0400 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2006-09-27 23:54:07 +0400 |
commit | 62bb489b13c1f7967946bf538492dce0af1150fe (patch) | |
tree | f33797575ec10e2efe0b5b94b4251498fedd62e1 /libavcodec/raw.c | |
parent | 191e8ca75279073699e0c0f25128b2b2088d1cbb (diff) |
add some #ifdef CONFIG_ENCODERS/DECODERS
Originally committed as revision 6356 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/raw.c')
-rw-r--r-- | libavcodec/raw.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/raw.c b/libavcodec/raw.c index 6204cf7975..f419f43be5 100644 --- a/libavcodec/raw.c +++ b/libavcodec/raw.c @@ -164,7 +164,7 @@ static int raw_close_decoder(AVCodecContext *avctx) } /* RAW Encoder Implementation */ - +#ifdef CONFIG_RAWVIDEO_ENCODER static int raw_init_encoder(AVCodecContext *avctx) { avctx->coded_frame = (AVFrame *)avctx->priv_data; @@ -182,7 +182,6 @@ static int raw_encode(AVCodecContext *avctx, avctx->height, frame, buf_size); } -#ifdef CONFIG_RAWVIDEO_ENCODER AVCodec rawvideo_encoder = { "rawvideo", CODEC_TYPE_VIDEO, |