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