lavc: Drop deprecated destruct_packet related functions
Deprecated in 10/2012.
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user