diff options
Diffstat (limited to 'libavcodec/h261.c')
-rw-r--r-- | libavcodec/h261.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/h261.c b/libavcodec/h261.c index 4286129dff..8536ea9c86 100644 --- a/libavcodec/h261.c +++ b/libavcodec/h261.c @@ -1013,6 +1013,7 @@ static int h261_decode_end(AVCodecContext *avctx) return 0; } +#ifdef CONFIG_ENCODERS AVCodec h261_encoder = { "h261", CODEC_TYPE_VIDEO, @@ -1022,6 +1023,7 @@ AVCodec h261_encoder = { MPV_encode_picture, MPV_encode_end, }; +#endif AVCodec h261_decoder = { "h261", |