[FFmpeg-cvslog] avfilter/f_select: use AVFrame metadata accessor function
Michael Niedermayer
git at videolan.org
Thu Apr 11 18:39:20 CEST 2013
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu Apr 11 18:30:19 2013 +0200| [865e20daf3c97215fbc8da3c9a348c55d9407d52] | committer: Michael Niedermayer
avfilter/f_select: use AVFrame metadata accessor function
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=865e20daf3c97215fbc8da3c9a348c55d9407d52
---
libavfilter/f_select.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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;
More information about the ffmpeg-cvslog
mailing list