[alsa-devel] [PATCH] a52: Make compatible with ffmpeg 3.0
Anatol Pomozov
anatol.pomozov at gmail.com
Fri Apr 1 20:47:38 CEST 2016
Thank you.
I also see a number of "deprecated API" message that makes sense to
look at as well:
rate_lavcrate.c:70:3: warning: 'av_resample_close' is deprecated
[-Wdeprecated-declarations]
av_resample_close(rate->context);
^
In file included from rate_lavcrate.c:22:0:
/usr/include/libavcodec/avcodec.h:4854:6: note: declared here
void av_resample_close(struct AVResampleContext *c);
^
rate_lavcrate.c: In function 'pcm_src_init':
rate_lavcrate.c:96:3: warning: 'av_resample_init' is deprecated
[-Wdeprecated-declarations]
rate->context = av_resample_init(info->out.rate, info->in.rate,
^
In file included from rate_lavcrate.c:22:0:
/usr/include/libavcodec/avcodec.h:4824:27: note: declared here
struct AVResampleContext *av_resample_init(int out_rate, int in_rate,
int filter_length, int log2_phase_count, int linear, double cutoff);
^
rate_lavcrate.c: In function 'pcm_src_convert_s16':
rate_lavcrate.c:186:3: warning: 'av_resample' is deprecated
[-Wdeprecated-declarations]
ret = av_resample(rate->context, rate->out[i],
^
In file included from rate_lavcrate.c:22:0:
/usr/include/libavcodec/avcodec.h:4836:5: note: declared here
int av_resample(struct AVResampleContext *c, short *dst, short *src,
int *consumed, int src_size, int dst_size, int update_ctx);
^
rate_lavcrate.c:194:2: warning: 'av_resample_compensate' is deprecated
[-Wdeprecated-declarations]
av_resample_compensate(rate->context,
^
In file included from rate_lavcrate.c:22:0:
/usr/include/libavcodec/avcodec.h:4852:6: note: declared here
void av_resample_compensate(struct AVResampleContext *c, int
sample_delta, int compensation_distance);
^
More information about the Alsa-devel
mailing list