diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-04-11 18:30:19 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-04-11 18:33:24 +0200 |
commit | 865e20daf3c97215fbc8da3c9a348c55d9407d52 (patch) | |
tree | 0ed12231e487f8992170ad95fd4763e3206e1ff4 | |
parent | c74b0eda34f187cc879361f93bd1d8cd7a1c54e6 (diff) | |
download | ffmpeg-865e20daf3c97215fbc8da3c9a348c55d9407d52.tar.gz |
avfilter/f_select: use AVFrame metadata accessor function
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-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 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; |