video: don't crash when blending onto video formats that unpack to 64 bits per pixel
authorTim-Philipp Müller <tim@centricular.net>
Wed, 7 Nov 2012 11:17:14 +0000 (11:17 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Wed, 7 Nov 2012 11:17:14 +0000 (11:17 +0000)
commit377c80668589e77c4bffafc4f7568cfaf61ec264
treee284a2dcb8f3884e925a43558e902b08690b56ec
parente3bb0683925b8b55b82a952e002e96ae7a259cb3
video: don't crash when blending onto video formats that unpack to 64 bits per pixel

We only allocate 8 bits per component for our temp buffers, which
causes invalid memory accesses if we try to unpack formats that
unpack into a format with 16 bits per component such as e.g. v210.

We don't support blending onto those yet, so just bail out.
gst-libs/gst/video/video-blend.c