applemedia: CMBlockBuffer can be non-contiguous
authorIlya Konstantinov <ilya.konstantinov@gmail.com>
Mon, 27 Apr 2015 12:02:59 +0000 (15:02 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 25 Jun 2015 08:33:54 +0000 (10:33 +0200)
commit8cd65c325093e8c951d8b39d403591871519f750
tree4d35ab5d0c8154cf7c186108409af5fb1a957e51
parentdbf12ab760c1a5c735617823fff0cc487439da1d
applemedia: CMBlockBuffer can be non-contiguous

CMBlockBufferGetDataLength would return the entire data length, while
size of individual blocks can be smaller. Iterate over the block buffer
and add the individual (possibly non-contiguous) memory blocks.

https://bugzilla.gnome.org/show_bug.cgi?id=751071
sys/applemedia/coremediabuffer.c