asfdemux: fix assertion error when codec_data is not present in structure
authorVineeth TM <vineeth.tm@samsung.com>
Fri, 24 Jul 2015 01:08:34 +0000 (10:08 +0900)
committerTim-Philipp Müller <tim@centricular.com>
Thu, 30 Jul 2015 12:40:09 +0000 (13:40 +0100)
commit5e7d0a828552dcc6f6ddf2bf08cf318a7cbd1d8d
treecd1d0c4b372782914b556b4b1ce63fe1649ef3da
parent171a1df6eb07af8a0422f8ab6243cce57dfd66aa
asfdemux: fix assertion error when codec_data is not present in structure

When discovering a particular asf file, caps structure doesn't have
codec_data, and this was not being checked before using the same,
resulting in assertion error

https://bugzilla.gnome.org/show_bug.cgi?id=752803
gst/asfdemux/gstasfdemux.c