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

Function ff_mpv_replace_picture

libavcodec/mpegpicture.c:121–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119}
120
121void ff_mpv_replace_picture(MPVWorkPicture *dst, const MPVWorkPicture *src)
122{
123 av_assert1(dst != src);
124 av_refstruct_replace(&dst->ptr, src->ptr);
125 memcpy(dst, src, sizeof(*dst));
126}
127
128void ff_mpv_workpic_from_pic(MPVWorkPicture *wpic, MPVPicture *pic)
129{

Callers 2

frame_startFunction · 0.85

Calls 1

av_refstruct_replaceFunction · 0.85

Tested by

no test coverage detected