| 1517 | } |
| 1518 | |
| 1519 | static int add_metadata_from_side_data(const AVPacket *avpkt, AVFrame *frame) |
| 1520 | { |
| 1521 | size_t size; |
| 1522 | const uint8_t *side_metadata; |
| 1523 | |
| 1524 | AVDictionary **frame_md = &frame->metadata; |
| 1525 | |
| 1526 | side_metadata = av_packet_get_side_data(avpkt, |
| 1527 | AV_PKT_DATA_STRINGS_METADATA, &size); |
| 1528 | return av_packet_unpack_dictionary(side_metadata, size, frame_md); |
| 1529 | } |
| 1530 | |
| 1531 | int ff_decode_frame_props_from_pkt(const AVCodecContext *avctx, |
| 1532 | AVFrame *frame, const AVPacket *pkt) |
no test coverage detected