[FFmpeg-cvslog] avutil/frame: remove unneccessary metadata pointer getter

James Almer git at videolan.org
Mon Oct 23 16:59:20 EEST 2017


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Mon Oct 23 10:58:00 2017 -0300| [8c2b82912334a3b41cfd4a9c8bf195e7c67cfb2a] | committer: James Almer

avutil/frame: remove unneccessary metadata pointer getter

Signed-off-by: James Almer <jamrial at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8c2b82912334a3b41cfd4a9c8bf195e7c67cfb2a
---

 libavutil/frame.c | 2 --
 libavutil/frame.h | 1 -
 2 files changed, 3 deletions(-)

diff --git a/libavutil/frame.c b/libavutil/frame.c
index d5fd2932e3..09dd98a6b5 100644
--- a/libavutil/frame.c
+++ b/libavutil/frame.c
@@ -48,8 +48,6 @@ MAKE_ACCESSORS(AVFrame, frame, enum AVColorRange, color_range)
                (frame)->channels == \
                av_get_channel_layout_nb_channels((frame)->channel_layout))
 
-AVDictionary **avpriv_frame_get_metadatap(AVFrame *frame) {return &frame->metadata;};
-
 #if FF_API_FRAME_QP
 int av_frame_set_qp_table(AVFrame *f, AVBufferRef *buf, int stride, int qp_type)
 {
diff --git a/libavutil/frame.h b/libavutil/frame.h
index abe4f4fd17..fef558ea2f 100644
--- a/libavutil/frame.h
+++ b/libavutil/frame.h
@@ -587,7 +587,6 @@ int     av_frame_get_decode_error_flags   (const AVFrame *frame);
 void    av_frame_set_decode_error_flags   (AVFrame *frame, int     val);
 int     av_frame_get_pkt_size(const AVFrame *frame);
 void    av_frame_set_pkt_size(AVFrame *frame, int val);
-AVDictionary **avpriv_frame_get_metadatap(AVFrame *frame);
 #if FF_API_FRAME_QP
 int8_t *av_frame_get_qp_table(AVFrame *f, int *stride, int *type);
 int av_frame_set_qp_table(AVFrame *f, AVBufferRef *buf, int stride, int type);



More information about the ffmpeg-cvslog mailing list