avpacket: properly reset data/size in av_packet_move_ref()
authorAnton Khirnov <anton@khirnov.net>
Thu, 25 Feb 2016 14:53:17 +0000 (15:53 +0100)
committerAnton Khirnov <anton@khirnov.net>
Fri, 26 Feb 2016 08:15:36 +0000 (09:15 +0100)
commitdbb43b8b83b097585ec255ec638b61e359ebea77
treeed97354f751268ac030cd082d4378a5446cda0b6
parentba357e98691ee4fe1a503b8830c0050be4127475
avpacket: properly reset data/size in av_packet_move_ref()

It currently just calls av_init_packet(), which does not touch those
fields.
libavcodec/avpacket.c