avformat: Fix infinite probing that reads the whole file
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 20 Mar 2013 16:49:20 +0000 (17:49 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 20 Mar 2013 16:57:00 +0000 (17:57 +0100)
commit710cd0fddf39d4eea68f7dcdd3e98da179a4cd7b
tree03f00354f3b69b3b750fadb1cbc1177bb1597283
parent06a43baecd2c21c1c27d9c8fdd199ce27be028ec
avformat: Fix infinite probing that reads the whole file

Fixes: otonajoshi_avformat_tries_to_load_whole.ts
Reported-by: JEEB (on IRC)
Thanks-to: nevcairiel
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/utils.c