jpegenc: error out instead of crashing if no caps have been set
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Thu, 19 Feb 2009 20:14:10 +0000 (20:14 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Wed, 25 Feb 2009 12:50:37 +0000 (12:50 +0000)
commit1a2bd6c617dff728a93801d98aeb81d1c8bd5c07
treea6deb172a010e1bcd5bf99fff995075a344d0f74
parent7c56695160cd522f3998812dc796f3af34cb3465
jpegenc: error out instead of crashing if no caps have been set

Don't crash if we receive a buffer without caps. Fixes #572413.
ext/jpeg/gstjpegenc.c