audio: don't deref NULL
authorStefan Sauer <ensonic@users.sf.net>
Fri, 14 Oct 2016 12:23:38 +0000 (14:23 +0200)
committerStefan Sauer <ensonic@users.sf.net>
Thu, 20 Oct 2016 13:42:50 +0000 (15:42 +0200)
commit7986a8ed3d2c83aab00ae6ea1e6944f5c8557230
treeb22ff03fcc7d5e57e14da1531dc6c698c73fce29
parenta32b25db6a9b098ebe0ca30793d999819b8d5b80
audio: don't deref NULL

gst_buffer_copy_region() can return NULL when the buffer meta-data is invalid.

See https://bugzilla.gnome.org/show_bug.cgi?id=772200
gst-libs/gst/audio/audio.c