From 865e20daf3c97215fbc8da3c9a348c55d9407d52 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Thu, 11 Apr 2013 18:30:19 +0200 Subject: avfilter/f_select: use AVFrame metadata accessor function Signed-off-by: Michael Niedermayer --- libavfilter/f_select.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavfilter') diff --git a/libavfilter/f_select.c b/libavfilter/f_select.c index b34196dee3..786b5e1686 100644 --- a/libavfilter/f_select.c +++ b/libavfilter/f_select.c @@ -278,7 +278,7 @@ static int select_frame(AVFilterContext *ctx, AVFrame *frame) select->var_values[VAR_SCENE] = get_scene_score(ctx, frame); // TODO: document metadata snprintf(buf, sizeof(buf), "%f", select->var_values[VAR_SCENE]); - av_dict_set(&frame->metadata, "lavfi.scene_score", buf, 0); + av_dict_set(avpriv_frame_get_metadatap(frame), "lavfi.scene_score", buf, 0); } #endif break; -- cgit v1.2.3