lavc: Drop deprecated destruct_packet related functions
Deprecated in 10/2012.
This commit is contained in:
parent
dc70c19476
commit
01bcc2d5c2
12 changed files with 2 additions and 144 deletions
|
@ -413,11 +413,6 @@ int ff_interleave_add_packet(AVFormatContext *s, AVPacket *pkt,
|
|||
if (!this_pktl)
|
||||
return AVERROR(ENOMEM);
|
||||
this_pktl->pkt = *pkt;
|
||||
#if FF_API_DESTRUCT_PACKET
|
||||
FF_DISABLE_DEPRECATION_WARNINGS
|
||||
pkt->destruct = NULL; // do not free original but only the copy
|
||||
FF_ENABLE_DEPRECATION_WARNINGS
|
||||
#endif
|
||||
pkt->buf = NULL;
|
||||
pkt->side_data = NULL;
|
||||
pkt->side_data_elems = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue