diff options
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/f_select.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/f_select.c b/libavfilter/f_select.c index b34196d..786b5e1 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; |