applehttp: Properly clean up if unable to probe a segment
authorMartin Storsjö <martin@martin.st>
Wed, 14 Dec 2011 18:34:58 +0000 (20:34 +0200)
committerMartin Storsjö <martin@martin.st>
Wed, 14 Dec 2011 19:34:47 +0000 (21:34 +0200)
commit115a57302a7d6661426304bec3a5bc72d0edf4b0
tree9154116d1bb09aac714bf8c29d1aed2cbfc6d939
parentc41b9842ceac42bedfd74a7ba2d02add82f818a9
applehttp: Properly clean up if unable to probe a segment

This avoids a segfault if the probe function wasn't able to
determine the format.

The bug was found by Panagiotis H.M. Issaris.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/applehttp.c