lavf: ffio_limit(), treat avio_size()==0 as error.