lavc: Drop deprecated destruct_packet related functions
Deprecated in 10/2012.
This commit is contained in:
parent
dc70c19476
commit
01bcc2d5c2
12 changed files with 2 additions and 144 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue