summaryrefslogtreecommitdiff
path: root/libavcodec/resample.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/resample.c')
-rw-r--r--libavcodec/resample.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/resample.c b/libavcodec/resample.c
index fea8e75b35..e1d29f7e92 100644
--- a/libavcodec/resample.c
+++ b/libavcodec/resample.c
@@ -212,7 +212,7 @@ ReSampleContext *av_audio_resample_init(int output_channels, int input_channels,
s->resample_context= av_resample_init(output_rate, input_rate,
filter_length, log2_phase_count, linear, cutoff);
- *(AVClass**)s->resample_context = &audioresample_context_class;
+ *(const AVClass**)s->resample_context = &audioresample_context_class;
return s;
}