lavc/avpacket: Fix undefined behaviour, do not pass a null pointer to memcpy().
authorCarl Eugen Hoyos <cehoyos@ag.or.at>
Wed, 21 Sep 2016 23:03:55 +0000 (01:03 +0200)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Thu, 22 Sep 2016 06:37:46 +0000 (08:37 +0200)
commitc54eef46f990722ed65fd1ad1da3d0fc50806eb5
tree708498ff986e794471c98f00d6313260243a476d
parent7447ec91b5a692121b81a04c6501a5811d867775
lavc/avpacket: Fix undefined behaviour, do not pass a null pointer to memcpy().

Fixes ticket #5857.
libavcodec/avpacket.c