diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-07-28 14:30:23 +0100 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-08-28 16:01:16 +0200 |
commit | 01bcc2d5c23fa757d163530abb396fd02f1be7c8 (patch) | |
tree | 1c15e03246819b364d1cfc691c6bbfd9db784955 /libavformat/utils.c | |
parent | dc70c19476e76f1118df73b5d97cc76f0e5f6f6c (diff) | |
download | ffmpeg-01bcc2d5c23fa757d163530abb396fd02f1be7c8.tar.gz |
lavc: Drop deprecated destruct_packet related functions
Deprecated in 10/2012.
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r-- | libavformat/utils.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index d72f5331be..5d4ec626de 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -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; |