buffer_size should be in bytes, not bits
buffer_size should be in bytes, not bits

(cherry picked from commit 7825cbeb7d70c2e1e558808d7433ece414394177)

opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv