asfdemux: Handle incomplete header in pull mode
authorEdward Hervey <edward@centricular.com>
Tue, 22 Nov 2016 15:54:26 +0000 (16:54 +0100)
committerEdward Hervey <bilboed@bilboed.com>
Tue, 22 Nov 2016 17:21:46 +0000 (18:21 +0100)
commitcc04255e946f28acb4a60cc570c0c460c2f0154f
treef60c15ba231400998d2a8116fdb65c89846a14fb
parent45c7826d76dfcb94cebbc57208c553d432fdc4a9
asfdemux: Handle incomplete header in pull mode

pulling headers is meant to complete as a whole. If we don't have
enough data, it's an error.

Avoids pipeline hangs on corrupted files

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