cisco / thor

Thor Video Codec
BSD 2-Clause "Simplified" License
697 stars 101 forks source link

get_vlc(): infinite loop on invalid streams #30

Open tterribe opened 8 years ago

tterribe commented 8 years ago

Several of the while(!done) loops will loop forever if fed a constant stream of zeros. Once they read all of the bits in the file, this is exactly what they will receive.