Get rid of av_destruct_packet_nofree and use NULL instead.

It is still used in comparisons to keep ABI compatibility.

Originally committed as revision 18431 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Reimar Döffinger
2009-04-11 12:42:29 +00:00
parent e161e007be
commit 80d403fc19
3 changed files with 9 additions and 5 deletions

View File

@@ -42,7 +42,7 @@ void av_init_packet(AVPacket *pkt)
pkt->convergence_duration = 0;
pkt->flags = 0;
pkt->stream_index = 0;
pkt->destruct= av_destruct_packet_nofree;
pkt->destruct= NULL;
}
int av_new_packet(AVPacket *pkt, int size)