lavc/avpacket: Fix undefined behaviour, do not pass a null pointer to memcpy().
authorCarl Eugen Hoyos <cehoyos@ag.or.at>
Sun, 4 Sep 2016 19:11:02 +0000 (21:11 +0200)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Mon, 5 Sep 2016 08:16:03 +0000 (10:16 +0200)
commitf077ad69c682c13ab75a72aec11a61cac53f0c91
tree61b4506f6bf30fe345ed8ba6dcda4ef92f289738
parente7bc9623e577e41d0dfd8ec2e1d1ec0d36333754
lavc/avpacket: Fix undefined behaviour, do not pass a null pointer to memcpy().

Fixes ticket #5128.
libavcodec/avpacket.c