diff options
author | Paul B Mahol <onemda@gmail.com> | 2018-12-20 13:42:20 +0100 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2018-12-20 13:46:49 +0100 |
commit | 4b5977fc5011947bc773d998eba78eb936b308bd (patch) | |
tree | 6d1d951ae458bb6280167bbc9f7104921bf11e1c /libavfilter | |
parent | 3f08ed3920eea00bd1320cb4f42dcd2ac8189ff2 (diff) | |
download | ffmpeg-4b5977fc5011947bc773d998eba78eb936b308bd.tar.gz |
avfilter/af_sofalizer: add printing of license back
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/af_sofalizer.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavfilter/af_sofalizer.c b/libavfilter/af_sofalizer.c index 502dd0159a..f01c1d4b40 100644 --- a/libavfilter/af_sofalizer.c +++ b/libavfilter/af_sofalizer.c @@ -113,6 +113,7 @@ static int preload_sofa(AVFilterContext *ctx, char *filename, int *samplingrate) { struct SOFAlizerContext *s = ctx->priv; struct MYSOFA_HRTF *mysofa; + char *license; int ret; mysofa = mysofa_load(filename, &ret); @@ -125,6 +126,9 @@ static int preload_sofa(AVFilterContext *ctx, char *filename, int *samplingrate) return AVERROR(EINVAL); *samplingrate = mysofa->DataSamplingRate.values[0]; s->sofa.n_samples = mysofa->N; + license = mysofa_getAttribute(mysofa->attributes, (char *)"License"); + if (license) + av_log(ctx, AV_LOG_INFO, "SOFA license: %s\n", license); mysofa_free(mysofa); return 0; |