comparison avpacket.c @ 9394:d322325fc00e libavcodec

Get rid of av_destruct_packet_nofree and use NULL instead. It is still used in comparisons to keep ABI compatibility.
author reimar
date Sat, 11 Apr 2009 12:42:29 +0000
parents 66e270967340
children e30999f7a631
comparison
equal deleted inserted replaced
9393:25b3650b4db5 9394:d322325fc00e
40 pkt->pos = -1; 40 pkt->pos = -1;
41 pkt->duration = 0; 41 pkt->duration = 0;
42 pkt->convergence_duration = 0; 42 pkt->convergence_duration = 0;
43 pkt->flags = 0; 43 pkt->flags = 0;
44 pkt->stream_index = 0; 44 pkt->stream_index = 0;
45 pkt->destruct= av_destruct_packet_nofree; 45 pkt->destruct= NULL;
46 } 46 }
47 47
48 int av_new_packet(AVPacket *pkt, int size) 48 int av_new_packet(AVPacket *pkt, int size)
49 { 49 {
50 uint8_t *data; 50 uint8_t *data;