]> granicus.if.org Git - libvpx/commit
Add GetVectorData()
authorangiebird <angiebird@google.com>
Wed, 26 Feb 2020 23:18:52 +0000 (15:18 -0800)
committerangiebird <angiebird@google.com>
Tue, 3 Mar 2020 04:16:56 +0000 (20:16 -0800)
commita1c0c95c8c6dbab14c1223cdfdd0dc62022c6444
tree61e274d9fb533558113b11884c24c66a25f84551
parentc2aa1520a4610fb5cc640f55c117805fb0047502
Add GetVectorData()

It's necessary to get data pointer from a vector sometimes.
This function will guarantee that the data pointer is nullptr
if the vector is empty.

Change-Id: I156308bcb193fe404452d3cd3b24b3f80c3c3727
vp9/simple_encode.cc