pcm: define AVCodec instances only for enabled codecs
authorMans Rullgard <mans@mansr.com>
Wed, 17 Oct 2012 21:26:55 +0000 (22:26 +0100)
committerMans Rullgard <mans@mansr.com>
Mon, 22 Oct 2012 13:40:57 +0000 (14:40 +0100)
commitabdee95224fe6b6ba83212216a7f7f50c3471c42
tree69b923af8e98f0859f0d11d9be7b8858a0ed6287
parent5957aefc7c75d8c55309fd6cf2634e4fcd2a22e4
pcm: define AVCodec instances only for enabled codecs

This defines an AVCodec only if the corresponding CONFIG option is
enabled instead of using the broad CONFIG_ENCODERS/DECODERS.

Signed-off-by: Mans Rullgard <mans@mansr.com>
libavcodec/pcm.c