diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2009-04-11 12:42:29 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2009-04-11 12:42:29 +0000 |
commit | 80d403fc195dd81463a9fcaac94ea55dd682867f (patch) | |
tree | 7d3d4b8b66ab38acb00dad8fb0c947e42143e7c2 /libavformat | |
parent | e161e007be2ca2df1e560470f94d4038dd841d67 (diff) | |
download | ffmpeg-80d403fc195dd81463a9fcaac94ea55dd682867f.tar.gz |
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 'libavformat')
-rw-r--r-- | libavformat/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index d209fe712f..535da98965 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -923,7 +923,7 @@ static int av_read_frame_internal(AVFormatContext *s, AVPacket *pkt) 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){ |