blob: c0bc1be37cc91896eec3205d51021d1d22b8312a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
Index: alsa-plugins-1.0.14rc1/a52/pcm_a52.c
===================================================================
--- alsa-plugins-1.0.14rc1.orig/a52/pcm_a52.c
+++ alsa-plugins-1.0.14rc1/a52/pcm_a52.c
@@ -421,6 +421,8 @@ static int a52_prepare(snd_pcm_ioplug_t
{
struct a52_ctx *rec = io->private_data;
+ avcodec_init();
+
a52_free(rec);
rec->avctx = avcodec_alloc_context();
|