summaryrefslogtreecommitdiff
path: root/libavcodec/avpacket.c
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2009-04-11 12:42:29 +0000
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2009-04-11 12:42:29 +0000
commit80d403fc195dd81463a9fcaac94ea55dd682867f (patch)
tree7d3d4b8b66ab38acb00dad8fb0c947e42143e7c2 /libavcodec/avpacket.c
parente161e007be2ca2df1e560470f94d4038dd841d67 (diff)
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
Diffstat (limited to 'libavcodec/avpacket.c')
-rw-r--r--libavcodec/avpacket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/avpacket.c b/libavcodec/avpacket.c
index d91ee3a10d..194324713f 100644
--- a/libavcodec/avpacket.c
+++ b/libavcodec/avpacket.c
@@ -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)