diff options
Diffstat (limited to 'a52')
-rw-r--r-- | a52/pcm_a52.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/a52/pcm_a52.c b/a52/pcm_a52.c index 4549eda..573912f 100644 --- a/a52/pcm_a52.c +++ b/a52/pcm_a52.c @@ -676,6 +676,7 @@ SND_PCM_PLUGIN_DEFINE_FUNC(a52) rec->channels = channels; rec->format = format; + avcodec_init(); avcodec_register_all(); rec->codec = avcodec_find_encoder(CODEC_ID_AC3); if (! rec->codec) { |