mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-29 22:40:23 +00:00
avcodec: add ff_frame_get_metadatap()
This is needed for av_dict_* Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
5b802cf567
commit
bf90ef0314
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user