Mercurial > libavformat.hg
changeset 4851:dcd4702bcc21 libavformat
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 | 50df4a8b9733 |
children | ecf9f13948f1 |
files | utils.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/utils.c Sat Apr 11 10:41:06 2009 +0000 +++ b/utils.c Sat Apr 11 12:42:29 2009 +0000 @@ -923,7 +923,7 @@ pkt->pts = st->parser->pts; pkt->dts = st->parser->dts; pkt->pos = st->parser->pos; - pkt->destruct = av_destruct_packet_nofree; + pkt->destruct = NULL; compute_pkt_fields(s, st, st->parser, pkt); if((s->iformat->flags & AVFMT_GENERIC_INDEX) && pkt->flags & PKT_FLAG_KEY){