From d6ebb2df47fa2827aecdcf236a234cd2fe74fe2c Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 30 Oct 2017 13:36:44 +0100 Subject: Get rid of deprecated AVFrame accessors Fist we were required to use them for ABI compat. reasons (and other BS), now they're deprecated and we're supposed to access them directly again. --- audio/filter/af_lavfi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'audio/filter') diff --git a/audio/filter/af_lavfi.c b/audio/filter/af_lavfi.c index 14bd1bb1f1..ab8a026de7 100644 --- a/audio/filter/af_lavfi.c +++ b/audio/filter/af_lavfi.c @@ -265,7 +265,7 @@ static void get_metadata_from_av_frame(struct af_instance *af, AVFrame *frame) if (!p->metadata) p->metadata = talloc_zero(p, struct mp_tags); - mp_tags_copy_from_av_dictionary(p->metadata, av_frame_get_metadata(frame)); + mp_tags_copy_from_av_dictionary(p->metadata, frame->metadata); #endif } -- cgit v1.2.3