lavc: preserve avpkt->destruct in ff_alloc_packet().
authorAnton Khirnov <anton@khirnov.net>
Fri, 24 Feb 2012 21:39:19 +0000 (22:39 +0100)
committerAnton Khirnov <anton@khirnov.net>
Sat, 3 Mar 2012 05:31:41 +0000 (06:31 +0100)
commite42e9b0e4d3eb8b2c9b5e1791344f211b590040c
tree07342b1700f6d85c5f03043e41cf2f8a429805b0
parentc179c9e19d3b3a8bb98fcc65d2da1caa293f7919
lavc: preserve avpkt->destruct in ff_alloc_packet().

Also, don't bother with saving/restoring data, av_init_packet doesn't
touch it.
libavcodec/utils.c