diff options
author | Måns Rullgård <mans@mansr.com> | 2006-09-27 19:54:07 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2006-09-27 19:54:07 +0000 |
commit | 62bb489b13c1f7967946bf538492dce0af1150fe (patch) | |
tree | f33797575ec10e2efe0b5b94b4251498fedd62e1 /libavcodec/asv1.c | |
parent | 191e8ca75279073699e0c0f25128b2b2088d1cbb (diff) | |
download | ffmpeg-62bb489b13c1f7967946bf538492dce0af1150fe.tar.gz |
add some #ifdef CONFIG_ENCODERS/DECODERS
Originally committed as revision 6356 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/asv1.c')
-rw-r--r-- | libavcodec/asv1.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/asv1.c b/libavcodec/asv1.c index cf65d172cb..a583e7ceea 100644 --- a/libavcodec/asv1.c +++ b/libavcodec/asv1.c @@ -462,6 +462,7 @@ for(i=0; i<s->avctx->extradata_size; i++){ return (get_bits_count(&a->gb)+31)/32*4; } +#ifdef CONFIG_ENCODERS static int encode_frame(AVCodecContext *avctx, unsigned char *buf, int buf_size, void *data){ ASV1Context * const a = avctx->priv_data; AVFrame *pict = data; @@ -515,6 +516,7 @@ static int encode_frame(AVCodecContext *avctx, unsigned char *buf, int buf_size, return size*4; } +#endif /* CONFIG_ENCODERS */ static void common_init(AVCodecContext *avctx){ ASV1Context * const a = avctx->priv_data; @@ -564,6 +566,7 @@ static int decode_init(AVCodecContext *avctx){ return 0; } +#ifdef CONFIG_ENCODERS static int encode_init(AVCodecContext *avctx){ ASV1Context * const a = avctx->priv_data; int i; @@ -587,6 +590,7 @@ static int encode_init(AVCodecContext *avctx){ return 0; } +#endif static int decode_end(AVCodecContext *avctx){ ASV1Context * const a = avctx->priv_data; |