summaryrefslogtreecommitdiff
path: root/libavresample/options.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavresample/options.c')
-rw-r--r--libavresample/options.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/libavresample/options.c b/libavresample/options.c
index 8f643700cb..824f5e3bc3 100644
--- a/libavresample/options.c
+++ b/libavresample/options.c
@@ -84,13 +84,6 @@ AVAudioResampleContext *avresample_alloc_context(void)
avr->av_class = &av_resample_context_class;
av_opt_set_defaults(avr);
- avr->am = av_mallocz(sizeof(*avr->am));
- if (!avr->am) {
- av_free(avr);
- return NULL;
- }
- avr->am->avr = avr;
-
return avr;
}