diff 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
line wrap: on
line diff
--- a/avpacket.c	Sat Apr 11 11:47:15 2009 +0000
+++ b/avpacket.c	Sat Apr 11 12:42:29 2009 +0000
@@ -42,7 +42,7 @@
     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)