diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-07-28 16:30:23 +0300 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-08-28 17:01:16 +0300 |
commit | 01bcc2d5c23fa757d163530abb396fd02f1be7c8 (patch) | |
tree | 1c15e03246819b364d1cfc691c6bbfd9db784955 /libavcodec/utils.c | |
parent | dc70c19476e76f1118df73b5d97cc76f0e5f6f6c (diff) |
lavc: Drop deprecated destruct_packet related functions
Deprecated in 10/2012.
Diffstat (limited to 'libavcodec/utils.c')
-rw-r--r-- | libavcodec/utils.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c index 2f0997a1a4..6779e1a544 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -1329,21 +1329,11 @@ int ff_alloc_packet(AVPacket *avpkt, int size) if (avpkt->data) { AVBufferRef *buf = avpkt->buf; -#if FF_API_DESTRUCT_PACKET -FF_DISABLE_DEPRECATION_WARNINGS - void *destruct = avpkt->destruct; -FF_ENABLE_DEPRECATION_WARNINGS -#endif if (avpkt->size < size) return AVERROR(EINVAL); av_init_packet(avpkt); -#if FF_API_DESTRUCT_PACKET -FF_DISABLE_DEPRECATION_WARNINGS - avpkt->destruct = destruct; -FF_ENABLE_DEPRECATION_WARNINGS -#endif avpkt->buf = buf; avpkt->size = size; return 0; |