1 --- alsa-plugins-1.1.0/a52/pcm_a52.c.orig 2015-10-27 14:34:06.000000000 +0100
2 +++ alsa-plugins-1.1.0/a52/pcm_a52.c 2016-03-21 12:25:16.452315942 +0100
6 #if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(53, 34, 0)
7 -#include <libavutil/audioconvert.h>
8 +//#include <libavutil/audioconvert.h>
9 #include <libavutil/mem.h>
10 #define USE_AVCODEC_FRAME
15 #if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(54, 28, 0)
16 - avcodec_free_frame(&rec->frame);
17 + av_frame_free(&rec->frame);
19 av_freep(&rec->frame);
23 struct a52_ctx *rec = io->private_data;
24 #ifdef USE_AVCODEC_FRAME
25 - rec->frame = avcodec_alloc_frame();
26 + rec->frame = av_frame_alloc();
29 if (av_samples_alloc(rec->frame->data, rec->frame->linesize,