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

Function extract_packet_props

libavcodec/decode.c:175–184  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

173}
174
175static int extract_packet_props(AVCodecInternal *avci, const AVPacket *pkt)
176{
177 int ret = 0;
178
179 av_packet_unref(avci->last_pkt_props);
180 if (pkt) {
181 ret = av_packet_copy_props(avci->last_pkt_props, pkt);
182 }
183 return ret;
184}
185
186static int decode_bsfs_init(AVCodecContext *avctx)
187{

Callers 1

decode_get_packetFunction · 0.85

Calls 2

av_packet_unrefFunction · 0.85
av_packet_copy_propsFunction · 0.85

Tested by

no test coverage detected