Commit bf90ef03 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec: add ff_frame_get_metadatap()

This is needed for av_dict_*
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 5b802cf5
......@@ -213,4 +213,6 @@ int ff_codec_close_recursive(AVCodecContext *avctx);
*/
int avpriv_bprint_to_extradata(AVCodecContext *avctx, struct AVBPrint *buf);
AVDictionary **ff_frame_get_metadatap(AVFrame *frame);
#endif /* AVCODEC_INTERNAL_H */
......@@ -767,6 +767,8 @@ MAKE_ACCESSORS(AVFrame, frame, AVDictionary *, metadata)
MAKE_ACCESSORS(AVFrame, frame, int, decode_error_flags)
MAKE_ACCESSORS(AVFrame, frame, int, pkt_size)
AVDictionary **ff_frame_get_metadatap(AVFrame *frame) {return &frame->metadata;};
MAKE_ACCESSORS(AVCodecContext, codec, AVRational, pkt_timebase)
MAKE_ACCESSORS(AVCodecContext, codec, const AVCodecDescriptor *, codec_descriptor)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment