lavc: Drop deprecated destruct_packet related functions

Deprecated in 10/2012.
This commit is contained in:
Vittorio Giovara 2015-07-28 14:30:23 +01:00
parent dc70c19476
commit 01bcc2d5c2
12 changed files with 2 additions and 144 deletions

View file

@ -828,12 +828,6 @@ static int parse_packet(AVFormatContext *s, AVPacket *pkt, int stream_index)
if (out_pkt.data == pkt->data && out_pkt.size == pkt->size) {
out_pkt.buf = pkt->buf;
pkt->buf = NULL;
#if FF_API_DESTRUCT_PACKET
FF_DISABLE_DEPRECATION_WARNINGS
out_pkt.destruct = pkt->destruct;
pkt->destruct = NULL;
FF_ENABLE_DEPRECATION_WARNINGS
#endif
}
if ((ret = av_dup_packet(&out_pkt)) < 0)
goto fail;