MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / clone_side_data

Function clone_side_data

fftools/ffmpeg_utils.h:50–61  ·  view source on GitHub ↗

* Wrapper calling av_frame_side_data_clone() in a loop for all source entries. * It does not clear dst beforehand. */

Source from the content-addressed store, hash-verified

48 * Wrapper calling av_frame_side_data_clone() in a loop for all source entries.
49 * It does not clear dst beforehand. */
50static inline int clone_side_data(AVFrameSideData ***dst, int *nb_dst,
51 AVFrameSideData * const *src, int nb_src,
52 unsigned int flags)
53{
54 for (int i = 0; i < nb_src; i++) {
55 int ret = av_frame_side_data_clone(dst, nb_dst, src[i], flags);
56 if (ret < 0)
57 return ret;
58 }
59
60 return 0;
61}
62
63#endif // FFTOOLS_FFMPEG_UTILS_H

Callers 6

enc_openFunction · 0.85
frame_data_ensureFunction · 0.85
close_outputFunction · 0.85
fg_output_stepFunction · 0.85
send_eofFunction · 0.85
dec_openFunction · 0.85

Calls 1

av_frame_side_data_cloneFunction · 0.85

Tested by

no test coverage detected