aacparse: make sure we have enough ADTS data
authorReynaldo H. Verdejo Pinochet <r.verdejo@sisa.samsung.com>
Wed, 19 Feb 2014 16:35:59 +0000 (13:35 -0300)
committerReynaldo H. Verdejo Pinochet <r.verdejo@sisa.samsung.com>
Fri, 21 Feb 2014 18:04:11 +0000 (15:04 -0300)
commitc3a4bb165784563282e6f64775304d5627c76c57
treec0a5760581bb55e491eed66ef85075104353eb06
parent0566ea06e50d09be2c0b0c2fa971ff7eb181353b
aacparse: make sure we have enough ADTS data

We need at least 6 bytes to pass over to _get_frame_len()
but we were just checking for a minimum of 2 bytes for the
syncword.

https://bugzilla.gnome.org/show_bug.cgi?id=724638
gst/audioparsers/gstaacparse.c