aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/rmdec.c
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2015-07-28 14:30:23 +0100
committerVittorio Giovara <vittorio.giovara@gmail.com>2015-08-28 16:01:16 +0200
commit01bcc2d5c23fa757d163530abb396fd02f1be7c8 (patch)
tree1c15e03246819b364d1cfc691c6bbfd9db784955 /libavformat/rmdec.c
parentdc70c19476e76f1118df73b5d97cc76f0e5f6f6c (diff)
downloadffmpeg-01bcc2d5c23fa757d163530abb396fd02f1be7c8.tar.gz
lavc: Drop deprecated destruct_packet related functions
Deprecated in 10/2012.
Diffstat (limited to 'libavformat/rmdec.c')
-rw-r--r--libavformat/rmdec.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/libavformat/rmdec.c b/libavformat/rmdec.c
index d28a2a8d1e..54ffc15a93 100644
--- a/libavformat/rmdec.c
+++ b/libavformat/rmdec.c
@@ -687,11 +687,6 @@ static int rm_assemble_video_frame(AVFormatContext *s, AVIOContext *pb,
vst->pkt.data= NULL;
vst->pkt.size= 0;
vst->pkt.buf = NULL;
-#if FF_API_DESTRUCT_PACKET
-FF_DISABLE_DEPRECATION_WARNINGS
- vst->pkt.destruct = NULL;
-FF_ENABLE_DEPRECATION_WARNINGS
-#endif
if(vst->slices != vst->cur_slice) //FIXME find out how to set slices correct from the begin
memmove(pkt->data + 1 + 8*vst->cur_slice, pkt->data + 1 + 8*vst->slices,
vst->videobufpos - 1 - 8*vst->slices);