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/mxg.c | |
parent | dc70c19476e76f1118df73b5d97cc76f0e5f6f6c (diff) | |
download | ffmpeg-streaming-01bcc2d5c23fa757d163530abb396fd02f1be7c8.zip ffmpeg-streaming-01bcc2d5c23fa757d163530abb396fd02f1be7c8.tar.gz |
lavc: Drop deprecated destruct_packet related functions
Deprecated in 10/2012.
Diffstat (limited to 'libavformat/mxg.c')
-rw-r--r-- | libavformat/mxg.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/libavformat/mxg.c b/libavformat/mxg.c index 3cde2de..396dbde 100644 --- a/libavformat/mxg.c +++ b/libavformat/mxg.c @@ -169,11 +169,6 @@ static int mxg_read_packet(AVFormatContext *s, AVPacket *pkt) pkt->pts = pkt->dts = mxg->dts; pkt->stream_index = 0; -#if FF_API_DESTRUCT_PACKET -FF_DISABLE_DEPRECATION_WARNINGS - pkt->destruct = NULL; -FF_ENABLE_DEPRECATION_WARNINGS -#endif pkt->buf = NULL; pkt->size = mxg->buffer_ptr - mxg->soi_ptr; pkt->data = mxg->soi_ptr; @@ -212,11 +207,6 @@ FF_ENABLE_DEPRECATION_WARNINGS /* time (GMT) of first sample in usec since 1970, little-endian */ pkt->pts = pkt->dts = AV_RL64(startmarker_ptr + 8); pkt->stream_index = 1; -#if FF_API_DESTRUCT_PACKET -FF_DISABLE_DEPRECATION_WARNINGS - pkt->destruct = NULL; -FF_ENABLE_DEPRECATION_WARNINGS -#endif pkt->buf = NULL; pkt->size = size - 14; pkt->data = startmarker_ptr + 16; |